| Issue 2280: | problem with require.js | |
| 1 person starred this issue and may be notified of changes. | Back to list |
i am try to add full calendar to a site with require.js
but the calendar wont show properly i can get click events on it, styles and i cant se the arrows.
Google chrome console is not giving me any error. i dont know what should i do.
require.config({
baseUrl: URL+"public/js/assets/",
paths: {
jquery:['jquery.min','//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min'],
},
shim: {
'jquery': {
exports: '$',
'fullcalendar': ['jquery']
},
'bootstrap': {
deps: ['jquery'],
exports: '$'
},
'bootstrap.min' : ['jquery'],
'bootstrap-datetpicker':['jquery','bootstrap.min'],
'../functions': ['jquery','bootstrap.min','jquery.validate.min','jquery.easing.min','bootstrap-datepicker','all','../js/config','jquery-ui.min'],
'../app/site': ['../functions',"../../data/especiality",'jquery.geocomplete.min','moment.min','fullcalendar.min'],
}
});
require(['jquery','../app/site'],
function($) {
console.log("All is loaded");
}
);
Sep 11, 2014
Project Member
#1
adamrs...@gmail.com
Status:
Done
|
|
| ► Sign in to add a comment |