Build: Put all AMD modules in "src/" in strict mode

Fixes gh-3073
This commit is contained in:
Michał Gołębiowski
2016-04-25 20:25:08 +02:00
parent e2d1142c2e
commit 305f193aa5
99 changed files with 195 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ define( [
"./var/acceptData"
], function( jQuery, rnotwhite, acceptData ) {
"use strict";
function Data() {
this.expando = jQuery.expando + Data.uid++;
}

View File

@@ -1,5 +1,7 @@
define( function() {
"use strict";
/**
* Determines whether an object can have data
*/

View File

@@ -1,5 +1,7 @@
define( [
"../Data"
], function( Data ) {
"use strict";
return new Data();
} );

View File

@@ -1,5 +1,7 @@
define( [
"../Data"
], function( Data ) {
"use strict";
return new Data();
} );