mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 07:55:21 -05:00
Build: Put all AMD modules in "src/" in strict mode
Fixes gh-3073
This commit is contained in:
@@ -4,6 +4,8 @@ define( [
|
||||
"./var/acceptData"
|
||||
], function( jQuery, rnotwhite, acceptData ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function Data() {
|
||||
this.expando = jQuery.expando + Data.uid++;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
define( function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Determines whether an object can have data
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
define( [
|
||||
"../Data"
|
||||
], function( Data ) {
|
||||
"use strict";
|
||||
|
||||
return new Data();
|
||||
} );
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
define( [
|
||||
"../Data"
|
||||
], function( Data ) {
|
||||
"use strict";
|
||||
|
||||
return new Data();
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user