hello everyone,
i just found a bug in easyloader.js plugins.
in development environment, the easyloader.base generate right path for jquery.parser.js example:
localhost:3000/assets/plugins/jquery.parser.js..
but in production environmetn, easyloader.base generate only a dot (.), not the right path for assets like this:
localhost:3000/.plugins/jquery.parser.js, it always give me an error when i deploy my project in production.
but i temporary fixit with give a condition in this syntax:
if (easyloader.base == '.'){
var url = window.location.protocol+'//'+window.location.hostname+':'+window.location.port+'/assets/plugins/' + _13['js'];
}else{
var url = easyloader.base + 'plugins/' + _13['js'];
}
btw i'm using ruby on rails, with rails 4.1.4, ruby 2.0.0, end easyui version 1.4
hope its helps for anyone get problem like me