Skip to content

Commit

Permalink
fix jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
moschel committed Apr 29, 2014
1 parent 3e255e4 commit 5e1a337
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions map/setter/setter_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ steal("can/map/setter", "can/test", function () {
var oldlog = can.dev.warn;
can.dev.warnTimeout = 10;
can.dev.warn = function (text) {
debugger;
ok(text, "got a message");
can.batch.stop(true);
can.dev.warn = oldlog;
Expand All @@ -115,7 +114,9 @@ steal("can/map/setter", "can/test", function () {
var firstMsg = false;
can.dev.warn = function (text) {
// first warn is not the relevant message, there is a deprecation warning we need to ignore
if(!firstMsg) return;
if(!firstMsg) {
return;
}
ok(false, "got a message");
start();
};
Expand Down

0 comments on commit 5e1a337

Please sign in to comment.