Skip to content

Commit

Permalink
fix(predictiveCache) Fixed strict JS error
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Jun 9, 2015
1 parent 1958343 commit 571659c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/services/predictiveCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ angular

function debug(...args) {
// disable debug messages for unit tests
if (!jasmine) {
console.debug.apply(null, args);
if (!window.jasmine) {
console.debug.apply(console, args);
}

}
Expand Down

0 comments on commit 571659c

Please sign in to comment.