1 |
9bb1e829
|
cagy
|
"use strict";
|
2 |
|
|
|
3 |
|
|
exports.__esModule = true;
|
4 |
|
|
exports.list = undefined;
|
5 |
|
|
|
6 |
|
|
var _keys = require("babel-runtime/core-js/object/keys");
|
7 |
|
|
|
8 |
|
|
var _keys2 = _interopRequireDefault(_keys);
|
9 |
|
|
|
10 |
|
|
exports.get = get;
|
11 |
|
|
|
12 |
|
|
var _helpers = require("./helpers");
|
13 |
|
|
|
14 |
|
|
var _helpers2 = _interopRequireDefault(_helpers);
|
15 |
|
|
|
16 |
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
17 |
|
|
|
18 |
|
|
function get(name) {
|
19 |
|
|
var fn = _helpers2.default[name];
|
20 |
|
|
if (!fn) throw new ReferenceError("Unknown helper " + name);
|
21 |
|
|
|
22 |
|
|
return fn().expression;
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
var list = exports.list = (0, _keys2.default)(_helpers2.default).map(function (name) {
|
26 |
|
|
return name.replace(/^_/, "");
|
27 |
|
|
}).filter(function (name) {
|
28 |
|
|
return name !== "__esModule";
|
29 |
|
|
});
|
30 |
|
|
|
31 |
|
|
exports.default = get;
|