Skip to content

Commit adfbc93

Browse files
committed
Fixing the underscore accesibility
1 parent edf118a commit adfbc93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/web/mage/utils/main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ define(function (require) {
66
'use strict';
77

88
var utils = {},
9-
_ = require('underscore');
9+
_ = require('underscore'),
10+
root = this || (0, eval)('this');
11+
12+
root._ = _;
1013

1114
return _.extend(
1215
utils,

0 commit comments

Comments
 (0)