Skip to content

Commit 4ac50fb

Browse files
committed
expose internal directives for plugins
1 parent ceb3649 commit 4ac50fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/api/global.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ var config = require('../config')
88
exports.util = _
99
exports.config = config
1010
exports.nextTick = _.nextTick
11+
12+
/**
13+
* The following are exposed for advanced usage / plugins
14+
*/
15+
1116
exports.compiler = require('../compiler')
1217
exports.FragmentFactory = require('../fragment/factory')
13-
18+
exports.internalDirectives = require('../directives/internal')
1419
exports.parsers = {
1520
path: require('../parsers/path'),
1621
text: require('../parsers/text'),

0 commit comments

Comments
 (0)