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