|
|
@ -8,9 +8,6 @@ require(['/api/config'], function(ApiConfig) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (resource[resource.length - 1] !== '/' && resource.indexOf('ver=') === -1) {
|
|
|
|
if (resource[resource.length - 1] !== '/' && resource.indexOf('ver=') === -1) {
|
|
|
|
var args = ApiConfig.requireConf.urlArgs;
|
|
|
|
var args = ApiConfig.requireConf.urlArgs;
|
|
|
|
if (resource.indexOf('/bower_components/') !== -1) {
|
|
|
|
|
|
|
|
args = 'ver=' + window.CKEDITOR.timestamp;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
resource += (resource.indexOf('?') >= 0 ? '&' : '?') + args;
|
|
|
|
resource += (resource.indexOf('?') >= 0 ? '&' : '?') + args;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return resource;
|
|
|
|
return resource;
|
|
|
|