Register as a CommonJS async module if in that kind of environment. Fixes #7102.
This commit is contained in:
parent
01cba2ecaa
commit
6ffa730721
3 changed files with 35 additions and 23 deletions
|
@ -1,7 +1,12 @@
|
|||
var jQuery = this.jQuery || "jQuery", // For testing .noConflict()
|
||||
$ = this.$ || "$",
|
||||
originaljQuery = jQuery,
|
||||
original$ = $;
|
||||
original$ = $,
|
||||
commonJSDefined;
|
||||
|
||||
function define(module, dependencies, callback) {
|
||||
commonJSDefined = callback();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of elements with the given IDs, eg.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue