Skip to content

Commit

Permalink
Removing the destructuring and const from webpackShims (elastic#11370)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelb authored Apr 21, 2017
1 parent 476031b commit f72e726
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions webpackShims/lodash.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
* var _ = require('lodash');
*/

const _ = require('node_modules/lodash/index.js').runInContext();
const { lodashStringMixin } = require('ui/utils/lodash-mixins/string');
const { lodashLangMixin } = require('ui/utils/lodash-mixins/lang');
const { lodashObjectMixin } = require('ui/utils/lodash-mixins/object');
const { lodashCollectionMixin } = require('ui/utils/lodash-mixins/collection');
const { lodashFunctionMixin } = require('ui/utils/lodash-mixins/function');
const { lodashOopMixin } = require('ui/utils/lodash-mixins/oop');
var _ = require('node_modules/lodash/index.js').runInContext();
var lodashStringMixin = require('ui/utils/lodash-mixins/string').lodashStringMixin;
var lodashLangMixin = require('ui/utils/lodash-mixins/lang').lodashLangMixin;
var lodashObjectMixin = require('ui/utils/lodash-mixins/object').lodashObjectMixin;
var lodashCollectionMixin = require('ui/utils/lodash-mixins/collection').lodashCollectionMixin;
var lodashFunctionMixin = require('ui/utils/lodash-mixins/function').lodashFunctionMixin;
var lodashOopMixin = require('ui/utils/lodash-mixins/oop').lodashOopMixin;

lodashStringMixin(_);
lodashLangMixin(_);
Expand Down

0 comments on commit f72e726

Please sign in to comment.