diff --git a/bin/javascript/init.js b/bin/javascript/init.js index 1d41b1ed59c3a6919668f1e99d740152065b4124..54480246d98bb2c9cc3029d9ec8dd9a23e578e87 100644 --- a/bin/javascript/init.js +++ b/bin/javascript/init.js @@ -51,9 +51,8 @@ window.addEvent('domready', function () { require.config({ paths: { - Hammer : URL_OPT_DIR + 'bin/hammerjs/hammer.min', - FastClick: URL_OPT_DIR + 'bin/fastclick/lib/fastclick', - Mustache : URL_OPT_DIR + 'bin/mustache/mustache' + Hammer : URL_OPT_DIR + 'bin/quiqqer-asset/hammerjs/hammerjs/hammer.min', + FastClick: URL_OPT_DIR + 'bin/quiqqer-asset/fastclick/fastclick/lib/fastclick' } }); @@ -149,7 +148,7 @@ window.addEvent('domready', function () { float: 'right' }, events: { - onCreate : function (Basket) { + onCreate: function (Basket) { var BasketNode = Basket.getElm(), basketStyleCss = ''; @@ -355,7 +354,7 @@ window.addEvent('domready', function () { * @param UserIconControl * @param QUILocale */ -function userIconLoadEvent (UserIconControl, QUILocale) { +function userIconLoadEvent(UserIconControl, QUILocale) { var Menu = UserIconControl.$Menu; require([ @@ -391,7 +390,7 @@ function userIconLoadEvent (UserIconControl, QUILocale) { * * @param LogoutWindow */ -function createLogoutWindow (LogoutWindow) { +function createLogoutWindow(LogoutWindow) { new LogoutWindow({ class : 'cologne-logout-dialog', title : false, @@ -435,7 +434,7 @@ function createLogoutWindow (LogoutWindow) { /** * Create and open login popup */ -function createLoginWindow () { +function createLoginWindow() { USER_BUTTON_CLICKED = false; require([ @@ -481,7 +480,7 @@ function createLoginWindow () { * In mobile resolution (less than 767px) opens category menu button * the mobile navigation instead category navigation. */ -function initMobileMenu () { +function initMobileMenu() { if (QUI.getWindowSize().x >= 768) { return; } @@ -502,4 +501,4 @@ function initMobileMenu () { }); }); }); -} \ No newline at end of file +} diff --git a/composer.json b/composer.json index 7a2bf2c9f7d1432b41a01671d58cfc85d5f50c58..ae9b8269fa58bd5d8ee7b208e8c199086c9b6f23 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "quiqqer\/menu": "1.*|dev-master|dev-dev", "quiqqer\/sitetypes": "1.*|dev-master|dev-dev", "quiqqer\/unsemantic": "1.*", - "npm-asset\/fastclick": "1.*", + "quiqqer-asset\/fastclick": "1.*", "quiqqer\/tooltips": "1.*|dev-master|dev-dev", "quiqqer\/currency": ">=1.1|*@dev" }, @@ -34,4 +34,4 @@ "QUI\\TemplateCologne\\": "src\/QUI\/TemplateCologne" } } -} \ No newline at end of file +}