Cannot add jquery.mCustomScrollbar.concat.min scrollbar library using RequireJS -


i trying load srollbar library using requirejs in application. pfb requirejs config file -

require.config({ waitseconds: 0, paths: {     "vendor": "../vendor",     "almond": "../vendor/bower/almond/almond",     "underscore": "../vendor/bower/lodash/dist/lodash.underscore",     "jquery": "../vendor/st_js/jquery-1.11.0.min",     "backbone": "../vendor/bower/backbone/backbone",     "text": "../vendor/text/text",     "date":  "../vendor/st_js/date",     "moment":  "../vendor/st_js/moment",     "cookie": "../vendor/st_js/cookies.min",     "fileupload": "../vendor/st_js/jquery.fileupload",     "jquery.ui.widget": "../vendor/st_js/jquery.ui.widget", 'jquery.mcustomscrollbar': '../vendor/st_js/jquery.mcustomscrollbar.concat.min',     "jquery.iframe-transport": "../vendor/st_js/jquery.iframe-transport", "jquery-supercal": "../vendor/st_js/jquery.supercal",     'masonry': '../vendor/st_js/jquery.masonry.min',     'infinitescroll': '../vendor/st_js/jquery.infinitescroll',     'jquery-ui-timepicker-addon': '../vendor/st_js/jquery-ui-timepicker-addon',     'fullcalendar': '../vendor/st_js/fullcalendar',     'jquery-ui.min': '../vendor/st_js/jquery-ui.min',     'prettyphoto': '../vendor/st_js/jquery.prettyphoto',     'amcharts': '../vendor/st_js/amcharts',     'bootstrap.min': '../vendor/st_js/bootstrap.min',     'bootstrap-select': '../vendor/st_js/bootstrap-select',     'bootstrap-datepicker': '../vendor/st_js/bootstrap-datepicker',     'modernizr': '../vendor/st_js/modernizr-2.6.1.min',     'main_mobilemenu': '../vendor/st_js/main_mobilemenu',     'jquery.placeholder': '../vendor/st_js/jquery.placeholder',     'jquery.autoresize': '../vendor/st_js/autoresize.jquery',     'notifybar': '../vendor/st_js/jquery.notifybar',     'polls': '../vendor/st_js/polls',     'bxslider': '../vendor/st_js/jquery.bxslider.min',     'enscroll': '../vendor/st_js/enscroll-0.4.0.min',     'additional_scripts': '../vendor/st_js/additional_scripts',     'realtime': '../vendor/st_js/realtime',     'emojify': '../vendor/st_js/emojify',     "templates": "../app/templates",     'previewer': '../vendor/st_js/previewer',     'markdown': '../vendor/st_js/markdown',     'emoticons': '../vendor/st_js/emoticons',     'google-charts' : '../vendor/st_js/loader',     'bootstrap-table' : '../vendor/st_js/bootstrap_table/js/bootstrap-table',     'bootstrap-table-fixed-columns' : '../vendor/st_js/bootstrap_table/js/extensions/fixed-columns/bootstrap-table-fixed-columns', 'bootstrap-multiselect': '../vendor/st_js/bootstrap-multiselect', 'date_range_picker' : '../vendor/st_js/date_range_picker',     "treewidget" : "../vendor/st_js/treewidget" },  shim: {     // required ensure backbone works expected within amd     // environment.     "backbone": {         // these 2 hard dependencies loaded first.         deps: [ "jquery", "underscore" ],          // maps global `backbone` object `require("backbone")`.         exports: "backbone"     },     'masonry': {         deps: [ 'jquery' ],         exports: 'jquery.masonry'     },     'fullcalendar': {         deps: [ 'jquery' ],         exports: 'jquery.fullcalendar'     },     'additional_scripts': {         deps: [ 'jquery' ],         exports: 'additional_scripts'     },     'realtime': {         deps: [ 'additional_scripts', 'cookie' ],         exports: 'realtime'     },     'jquery-ui-timepicker-addon': {         deps: [ 'jquery', 'jquery-ui.min' ],         exports: 'jquery.jquery-ui-timepicker-addon'     },     "markdown": {         exports: "markdown"     },     "emoticons": {         exports: "emoticons"     },     'bootstrap-table': {         deps: [ 'jquery' ],         exports: 'bootstrap-table'     },     'bootstrap-table-fixed-columns': {         deps: [ 'bootstrap-table' ],         exports: 'bootstrap-table-fixed-columns'      },     'jquery.mcustomscrollbar': {         deps: [ 'jquery' ],         exports: 'jquery.mcustomscrollbar'     } } }); 

but when load page not see scrollbar libraries in list of downloaded js libraries. , when access page see following error - require.js:165 uncaught error: script error "jquery.mcustomscrollbar.concat.min" http://requirejs.org/docs/errors.html#scripterror

please advice.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -