AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.

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:
Timmy Willison
2013-08-15 14:15:49 -04:00
parent 144837afdf
commit 217cbb7109
73 changed files with 27840 additions and 1659 deletions

View File

@@ -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")