diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-03 16:20:23 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-03 16:20:23 +0200 |
| commit | 489ee2809ab053509e852e983dc895d2f931a084 (patch) | |
| tree | e82d6aeff419a32fd0077f384cab8d47ca913b16 | |
| parent | 22ca4f38d5680518d98be8d061745da1d02b138f (diff) | |
"use strict" must be first
Firebug 3.0 alpha or Firefox nightly 37 says:
SyntaxError: 'use strict' statement won't be enforced as a directive
because it isn't in directive prologue position
| -rw-r--r-- | src/view/edge_info.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/edge_info.js b/src/view/edge_info.js index 9652839c..d711e200 100644 --- a/src/view/edge_info.js +++ b/src/view/edge_info.js @@ -1,3 +1,4 @@ +"use strict" define(['view/internal'], function(internal) { @@ -33,4 +34,3 @@ return { on_delete: on_delete, }; }); -"use strict" |
