12345678910111213141516171819202122232425262728293031 |
- "use strict";
- exports.__esModule = true;
- exports.list = undefined;
- var _keys = require("babel-runtime/core-js/object/keys");
- var _keys2 = _interopRequireDefault(_keys);
- exports.get = get;
- var _helpers = require("./helpers");
- var _helpers2 = _interopRequireDefault(_helpers);
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
- function get(name) {
- var fn = _helpers2.default[name];
- if (!fn) throw new ReferenceError("Unknown helper " + name);
- return fn().expression;
- }
- var list = exports.list = (0, _keys2.default)(_helpers2.default).map(function (name) {
- return name.replace(/^_/, "");
- }).filter(function (name) {
- return name !== "__esModule";
- });
- exports.default = get;
|