|
|
@ -42,7 +42,7 @@ define([
|
|
|
|
localStorage['LESS_CACHE'] = key;
|
|
|
|
localStorage['LESS_CACHE'] = key;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var load = module.exports.load = function (url /*:string*/, cb /*:()=>void*/) {
|
|
|
|
module.exports.load = function (url /*:string*/, cb /*:()=>void*/) {
|
|
|
|
checkCache();
|
|
|
|
checkCache();
|
|
|
|
if (localStorage['LESS_CACHE|' + key + '|' + url]) {
|
|
|
|
if (localStorage['LESS_CACHE|' + key + '|' + url]) {
|
|
|
|
inject(localStorage['LESS_CACHE|' + key + '|' + url], url);
|
|
|
|
inject(localStorage['LESS_CACHE|' + key + '|' + url], url);
|
|
|
@ -61,4 +61,4 @@ define([
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
return module.exports;
|
|
|
|
return module.exports;
|
|
|
|
})/*::()*/;
|
|
|
|
})/*::()*/;
|
|
|
|