@samitouri / QOS-React-2 / commits / bea9fbbf62

Add 'use strict' to statisfy linter rules

Nick Raienko committed Nov 1, 2014 at 07:05 UTC bea9fbbf6210f57ebabc641a1c00427d918c9847
3 files changed +7 -1
src/stubs/Object.assign.js
+3 -1
@@ -11,6 +11,8 @@
11
12 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign
13
14 +"use strict";
15 +
16 function assign(target, sources) {
17 if (target == null) {
18 throw new TypeError('Object.assign target cannot be null or undefined');
@@ -40,6 +42,6 @@ function assign(target, sources) {
42 }
43
44 return to;
43 -};
45 +}
46
47 module.exports = assign;
src/utils/deprecated.js
+2
@@ -9,6 +9,8 @@
9 * @providesModule deprecated
10 */
11
12 +"use strict";
13 +
14 var assign = require('Object.assign');
15 var warning = require('warning');
16
src/vendor_deprecated/core/copyProperties.js
+2
@@ -9,6 +9,8 @@
9 * @providesModule copyProperties
10 */
11
12 +"use strict";
13 +
14 /**
15 * Copy properties from one or more objects (up to 5) into the first object.
16 * This is a shallow copy. It mutates the first object and also returns it.