diff options
Diffstat (limited to 'js/mediators')
-rwxr-xr-x | js/mediators/element-mediator.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js index 40e94cca..93a8dbce 100755 --- a/js/mediators/element-mediator.js +++ b/js/mediators/element-mediator.js | |||
@@ -12,7 +12,13 @@ var ElementController = require("js/controllers/elements/element-controller").El | |||
12 | NJUtils = require("js/lib/NJUtils").NJUtils; | 12 | NJUtils = require("js/lib/NJUtils").NJUtils; |
13 | 13 | ||
14 | exports.ElementMediator = Montage.create(Component, { | 14 | exports.ElementMediator = Montage.create(Component, { |
15 | 15 | ||
16 | _NJUtils: { | ||
17 | get: function() { | ||
18 | if (!NJUtils) NJUtils = require("js/lib/NJUtils").NJUtils; | ||
19 | return NJUtils; | ||
20 | } | ||
21 | }, | ||
16 | 22 | ||
17 | addDelegate: { | 23 | addDelegate: { |
18 | enumerable: false, | 24 | enumerable: false, |