Skip to content

Commit

Permalink
suppressing 'SECURITY_ERR: DOM Exception 18' errors
Browse files Browse the repository at this point in the history
  • Loading branch information
collingo committed Feb 15, 2014
1 parent ca19d82 commit 3760e92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/templates/jasmine-requirejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
message += error.message;
}

throw Error(message);
if(error.requireType !== "define") {
throw Error(message);
}
};
</script>

Expand Down

0 comments on commit 3760e92

Please sign in to comment.