mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
21 lines
483 B
JavaScript
21 lines
483 B
JavaScript
|
/* jshint node: true */
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
require( "jsdom" ).env( "", function( errors, window ) {
|
||
|
if ( errors ) {
|
||
|
console.error( errors );
|
||
|
process.exit( 1 );
|
||
|
}
|
||
|
|
||
|
// Pretend the window is a global.
|
||
|
global.window = window;
|
||
|
|
||
|
var ensureJQuery = require( "./lib/ensure_jquery" ),
|
||
|
ensureGlobalNotCreated = require( "./lib/ensure_global_not_created" ),
|
||
|
jQuery = require( "../../dist/jquery.js" );
|
||
|
|
||
|
ensureJQuery( jQuery );
|
||
|
ensureGlobalNotCreated( module.exports, window );
|
||
|
} );
|