Skip to content

Commit

Permalink
Merge pull request #150 from canjs/landscaper/4217-use-strict
Browse files Browse the repository at this point in the history
Adds use strict. Fixes canjs/canjs#4217
  • Loading branch information
chasenlehara authored Jul 4, 2018
2 parents 6bcbc40 + 83acf6c commit f0247d3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
var stealTools = require("steal-tools");
var globalJS = require("steal-tools/lib/build/helpers/global").js;
var baseHelpers = require("steal-tools/lib/build/helpers/base");
Expand Down
1 change: 1 addition & 0 deletions core.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
// Adds
var canSet = require("can-set");
var sub = require("can-util/js/string/string").sub;
Expand Down
1 change: 1 addition & 0 deletions fixture.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
var core = require("./core");
var fixture = core.add;
var Store = require("./store");
Expand Down
1 change: 1 addition & 0 deletions helpers/getid.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
// Attemps to guess where the id is in an AJAX call's URL and returns it.
module.exports = function (xhrSettings, fixtureSettings) {
var id = xhrSettings.data.id;
Expand Down
1 change: 1 addition & 0 deletions helpers/legacyStore.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
var getId = require("./getid");
var canSet = require("can-set");
var isArrayLike = require("can-util/js/is-array-like/is-array-like");
Expand Down
1 change: 1 addition & 0 deletions store.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
var canSet = require("can-set");
var connect = require("can-connect");
var legacyStore = require("./helpers/legacyStore");
Expand Down
1 change: 1 addition & 0 deletions xhr.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
/* global require, window, global */
/* global setTimeout, clearTimeout, XMLHttpRequest */

Expand Down

0 comments on commit f0247d3

Please sign in to comment.