app-config.js 1.04 KB
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/**
 * @deprecated since version 2.2.0
 */
require.config({
    'waitSeconds': 0,
    'shim': {
        'jquery/jstree/jquery.hotkeys': ['jquery'],
        'jquery/hover-intent': ['jquery'],
        'mage/adminhtml/backup': ['prototype'],
        'mage/captcha': ['prototype'],
        'mage/common': ['jquery'],
        'mage/webapi': ['jquery'],
        'ko': {
            exports: 'ko'
        },
        'moment': {
            exports: 'moment'
        }
    },
    'paths': {
        'jquery/ui': 'jquery/jquery-ui-1.9.2',
        'jquery/validate': 'jquery/jquery.validate',
        'jquery/hover-intent': 'jquery/jquery.hoverIntent',
        'jquery/file-uploader': 'jquery/fileUploader/jquery.fileupload-fp',
        'prototype': 'prototype/prototype-amd',
        'text': 'requirejs/text',
        'domReady': 'requirejs/domReady',
        'ko': 'ko/ko'
    }
});

require(['jquery'], function (jQuery) {
    'use strict';

    jQuery.noConflict();
});