Skip to content

Commit

Permalink
Merge pull request #32 from greelgorke/master
Browse files Browse the repository at this point in the history
use strict mode should be at the root of the module
  • Loading branch information
ljharb committed Jul 1, 2015
2 parents 2f3efa2 + b856748 commit 273ab44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"no-extra-boolean-cast": [2],
"no-extra-parens": [0],
"no-extra-semi": [2],
"no-extra-strict": [2],
"strict": [2, "global"],
"no-fallthrough": [2],
"no-floating-decimal": [2],
"no-func-assign": [2],
Expand Down
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

var hasOwn = Object.prototype.hasOwnProperty;
var toStr = Object.prototype.toString;

Expand All @@ -10,8 +12,6 @@ var isArray = function isArray(arr) {
};

var isPlainObject = function isPlainObject(obj) {
'use strict';

if (!obj || toStr.call(obj) !== '[object Object]') {
return false;
}
Expand All @@ -32,8 +32,6 @@ var isPlainObject = function isPlainObject(obj) {
};

module.exports = function extend() {
'use strict';

var options, name, src, copy, copyIsArray, clone,
target = arguments[0],
i = 1,
Expand Down

0 comments on commit 273ab44

Please sign in to comment.