Skip to content

Commit

Permalink
cache || {}
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjeaf committed Jun 18, 2014
1 parent 672d773 commit 45c6754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebContent/stat/js/util/mock.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@

if (window.seajs && window.define && window.define.cmd) {
// 删除已经加载的jquery缓存
var cache = seajs.cache;
var cache = seajs.cache || {};
for(var prop in cache) {
prop = prop.toLowerCase();
if (prop.indexOf('jquery') != -1) {
Expand Down

0 comments on commit 45c6754

Please sign in to comment.