"qunit": "1.18.0",
"qunit-assert-classes": "0.1.5",
"qunit-assert-close": "JamesMGreene/qunit-assert-close#v1.1.1",
- "qunit-composite": "JamesMGreene/qunit-composite#v1.0.4",
+ "qunit-composite": "JamesMGreene/qunit-composite#v1.1.0",
"requirejs": "2.1.14",
"jquery-1.7.0": "jquery#1.7.0",
/**
- * QUnit Composite v1.0.4
+ * QUnit Composite v1.0.5-pre
*
* https://github.com/JamesMGreene/qunit-composite
*
* Released under the MIT license.
* https://jquery.org/license/
*/
-(function( QUnit ) {
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+ define( [ "qunit" ], factory );
+ } else {
+ factory( QUnit );
+ }
+}(function( QUnit ) {
var iframe, hasBound,
modules = 1,
executingComposite = false;
return;
}
+ // Deal with QUnit being loaded asynchronously via AMD
+ if ( !iframeWin.QUnit && iframeWin.define && iframeWin.define.amd ) {
+ return iframeWin.require( [ "qunit" ], onIframeLoad );
+ }
+
iframeWin.QUnit.moduleStart(function( data ) {
// Capture module name for messages
moduleName = data.name;
current.getElementsByTagName( "a" )[ 0 ].href = src;
});
-})( QUnit );
+}));