Pull jquery using require.js rather than as a script tag and fix require to pass jquery as a parameter
This commit is contained in:
@@ -163,12 +163,8 @@
|
||||
|
||||
if (typeof(module) !== 'undefined' && module.exports) {
|
||||
module.exports = Frame;
|
||||
}
|
||||
else if ((typeof(define) !== 'undefined' && define !== null) &&
|
||||
(define.amd !== null)) {
|
||||
define([
|
||||
'/bower_components/jquery/dist/jquery.min.js',
|
||||
], function () {
|
||||
} else if (typeof(define) === 'function' && define.amd) {
|
||||
define(['jquery'], function ($) {
|
||||
return Frame;
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user