From fe3012136da1a674d87cd0cb0bb48d73dd33c08c Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Thu, 22 Sep 2016 23:51:33 +0800 Subject: [PATCH] import _ --- frontend/src/Metamaps/Backbone.js | 3 ++- frontend/src/Metamaps/Control.js | 2 ++ frontend/src/Metamaps/Filter.js | 2 ++ frontend/src/Metamaps/JIT.js | 2 ++ frontend/src/Metamaps/Organize.js | 2 ++ frontend/src/Metamaps/Realtime.js | 2 ++ frontend/src/Metamaps/Visualize.js | 2 ++ 7 files changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend/src/Metamaps/Backbone.js b/frontend/src/Metamaps/Backbone.js index 9f18ef32..bc303df4 100644 --- a/frontend/src/Metamaps/Backbone.js +++ b/frontend/src/Metamaps/Backbone.js @@ -1,6 +1,7 @@ -window.Metamaps = window.Metamaps || {} /* global Metamaps, Backbone, _, $ */ +import _ from 'lodash' + /* * Metamaps.Backbone.js.erb * diff --git a/frontend/src/Metamaps/Control.js b/frontend/src/Metamaps/Control.js index 9e13e40c..2c14cfca 100644 --- a/frontend/src/Metamaps/Control.js +++ b/frontend/src/Metamaps/Control.js @@ -1,5 +1,7 @@ /* global Metamaps, $ */ +import _ from 'lodash' + import Active from './Active' import Filter from './Filter' import GlobalUI from './GlobalUI' diff --git a/frontend/src/Metamaps/Filter.js b/frontend/src/Metamaps/Filter.js index 38c4f369..f67c6ec8 100644 --- a/frontend/src/Metamaps/Filter.js +++ b/frontend/src/Metamaps/Filter.js @@ -1,5 +1,7 @@ /* global Metamaps, $ */ +import _ from 'lodash' + import Active from './Active' import Control from './Control' import GlobalUI from './GlobalUI' diff --git a/frontend/src/Metamaps/JIT.js b/frontend/src/Metamaps/JIT.js index 50c48985..0fe5a224 100644 --- a/frontend/src/Metamaps/JIT.js +++ b/frontend/src/Metamaps/JIT.js @@ -1,5 +1,7 @@ /* global Metamaps */ +import _ from 'lodash' + import Active from './Active' import Control from './Control' import Create from './Create' diff --git a/frontend/src/Metamaps/Organize.js b/frontend/src/Metamaps/Organize.js index ee29c2b8..c05f870e 100644 --- a/frontend/src/Metamaps/Organize.js +++ b/frontend/src/Metamaps/Organize.js @@ -1,5 +1,7 @@ /* global $ */ +import _ from 'lodash' + import Visualize from './Visualize' import JIT from './JIT' diff --git a/frontend/src/Metamaps/Realtime.js b/frontend/src/Metamaps/Realtime.js index 1eef6408..80143f25 100644 --- a/frontend/src/Metamaps/Realtime.js +++ b/frontend/src/Metamaps/Realtime.js @@ -1,5 +1,7 @@ /* global Metamaps, $ */ +import _ from 'lodash' + import Active from './Active' import Control from './Control' import GlobalUI from './GlobalUI' diff --git a/frontend/src/Metamaps/Visualize.js b/frontend/src/Metamaps/Visualize.js index 678c7c64..047cb81d 100644 --- a/frontend/src/Metamaps/Visualize.js +++ b/frontend/src/Metamaps/Visualize.js @@ -1,5 +1,7 @@ /* global Metamaps, $ */ +import _ from 'lodash' + import Active from './Active' import JIT from './JIT' import Router from './Router'