Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jquery.uls with require.js #82

Open
agborkowski opened this issue Apr 9, 2013 · 0 comments
Open

jquery.uls with require.js #82

agborkowski opened this issue Apr 9, 2013 · 0 comments

Comments

@agborkowski
Copy link

require.config({
    urlArgs: 'nocache=' + (new Date()).getTime(),
    paths: {
        jquery: '../components/jquery/jquery',
       /* ... */
        ulsData: '../components/jquery.uls/src/jquery.uls.data',
        jqUlsDataUntils: '../components/jquery.uls/src/jquery.uls.data.utils',
        jqUlsLcd: '../components/jquery.uls/src/jquery.uls.lcd',
        jqUlsLanguageFilter: '../components/jquery.uls/src/jquery.uls.languagefilter',
        jqUlsRegionFilter: '../components/jquery.uls/src/jquery.uls.regionfilter',
        jqUlsCore: '../components/jquery.uls/src/jquery.uls.core'
    },
    shim: {
        bootstrap: {
            deps: ['jquery'],
            exports: 'jquery'
        },
        notify: {
            deps: ['jquery'],
            exports: 'jquery'
        },
        adaptText: {
            deps: ['jquery'],
            exports: 'jquery'
        },
        ulsData: {
            deps: ['jquery', 'jqUlsDataUntils', 'jqUlsLcd','jqUlsLanguageFilter','jqUlsRegionFilter','jqUlsCore'],
            exports: 'jquery'
        }
    }
});

require(['jquery', 'bootstrap', 'adaptText', 'notify', 'ulsData',], function ($) {
    'use strict';
});

this code return jquery.uls.data error. Anyone know solution to work together jquery.uls and require.js ?

harshkothari410 pushed a commit to harshkothari410/jquery.uls that referenced this issue Jun 29, 2013
updated Lekhani Keyboard for Odia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant