Browse Source

'use strict' in function, not to break builders

Herbert Vojčík 7 years ago
parent
commit
1290df32be
2 changed files with 4 additions and 4 deletions
  1. 2 2
      amd/brikz.js
  2. 2 2
      brikz.js

+ 2 - 2
amd/brikz.js

@@ -1,7 +1,7 @@
-"use strict";
-
 define([], function () {
     return function Brikz(api, apiKey, initKey) {
+        "use strict";
+
         //jshint eqnull:true
 
         var brikz = this,

+ 2 - 2
brikz.js

@@ -1,8 +1,8 @@
-"use strict";
-
 export default (
 
 function Brikz (api, apiKey, initKey) {
+    "use strict";
+
     //jshint eqnull:true
 
     var brikz = this, backup = {};