My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2280: problem with require.js
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Sep 2014


Sign in to add a comment
 
Reported by cfer...@besign.com.ve, Sep 9, 2014
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
hey, I'm afraid this is more of a requirejs problem that will have to be solved outside of this issue tracker.
Status: Done
Sign in to add a comment

Powered by Google Project Hosting