moved module dependencies
This commit is contained in:
parent
9e9e738dbd
commit
bfecf9d525
|
@ -35,6 +35,7 @@ if (Common === undefined)
|
|||
|
||||
Common.component = Common.component || {};
|
||||
|
||||
define(['jquery'], function($){
|
||||
Common.Analytics = Common.component.Analytics = new(function() {
|
||||
var _category;
|
||||
|
||||
|
@ -84,3 +85,4 @@ Common.Analytics = Common.component.Analytics = new(function() {
|
|||
}
|
||||
}
|
||||
})();
|
||||
});
|
||||
|
|
|
@ -30,10 +30,12 @@
|
|||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
|
||||
if (Common === undefined) {
|
||||
var Common = {};
|
||||
}
|
||||
|
||||
define(['jquery'], function ($) {
|
||||
Common.Gateway = new(function() {
|
||||
var me = this,
|
||||
$me = $(me);
|
||||
|
@ -251,3 +253,4 @@ Common.Gateway = new(function() {
|
|||
}
|
||||
|
||||
})();
|
||||
});
|
||||
|
|
|
@ -39,8 +39,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
define(
|
||||
['jquery','underscore','framework7'],
|
||||
function () {
|
||||
//Extend jQuery functions
|
||||
jQuery.fn.extend( {
|
||||
single: function(types, selector, data, fn) {
|
||||
|
@ -78,5 +79,5 @@
|
|||
}, buffer);
|
||||
};
|
||||
};
|
||||
|
||||
})();
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue