'use strict';
This commit is contained in:
parent
291b75c43b
commit
56370aa0a7
113 changed files with 207 additions and 15 deletions
|
|
@ -1,3 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.get <f> Get a remote file
|
||||
# fixme: remote? same-origin-policy? jsonp?
|
||||
|
|
@ -54,7 +56,7 @@ Ox.loadFile = (function() {
|
|||
return function (file, callback) {
|
||||
var element,
|
||||
request,
|
||||
type = file.split('.').pop();
|
||||
type = file.split('.').pop(),
|
||||
isImage = type != 'css' && type != 'js';
|
||||
if (!cache[file]) {
|
||||
if (isImage) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue