Skip to content

Commit 0d6cc85

Browse files
author
kritika bahl
committed
cache fix
1 parent 56ce233 commit 0d6cc85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/scripts/services/source-map-util.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@
137137

138138

139139
}).fail(function() {
140-
def1.resolve(false);
140+
def1.reject();
141141
_cache[url]._map=null;
142142
def.resolve(stack);
143143
});
144144
},function(){
145-
def1.resolve(false);
145+
def1.reject();
146146
_cache[url]._map=null;
147147
def.resolve(stack);
148148
});
@@ -158,9 +158,9 @@
158158
loc.name=_findFunctionName(_cache[url]._file,loc.line, loc.column);
159159
_stack=new window.StackFrame(loc.name, stack.args, loc.source, loc.line, loc.column);
160160
def.resolve(_stack);
161-
}else{
162-
def.resolve(stack);
163161
}
162+
},function(){
163+
def.resolve(stack);
164164
});
165165

166166

0 commit comments

Comments
 (0)