mirror of
https://github.com/jquery/jquery.git
synced 2026-02-08 19:34:57 -05:00
Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*jshint multistr:true, quotmark:false */
|
||||
|
||||
var amdDefined, fireNative,
|
||||
var fireNative,
|
||||
originaljQuery = this.jQuery || "jQuery",
|
||||
original$ = this.$ || "$",
|
||||
// see RFC 2606
|
||||
@@ -13,15 +13,6 @@ this.isLocal = window.location.protocol === "file:";
|
||||
this.jQuery = originaljQuery;
|
||||
this.$ = original$;
|
||||
|
||||
/**
|
||||
* Set up a mock AMD define function for testing AMD registration.
|
||||
*/
|
||||
function define( name, dependencies, callback ) {
|
||||
amdDefined = callback();
|
||||
}
|
||||
|
||||
define.amd = {};
|
||||
|
||||
/**
|
||||
* Returns an array of elements with the given IDs
|
||||
* @example q("main", "foo", "bar")
|
||||
|
||||
Reference in New Issue
Block a user