cleaned up a redundant if clause
commit8e44dcb1ae832a056cde149b43d57d79f0a17876
authorMichael James <michael@michaelbjames.com>
dateWed 23 Jul 2014, 17:03 (12 years ago)
parent4786f5e
runtime/Debugger.js+1−3
@@ -284,9 +284,7 @@ function debuggerInit(debugModule, runtime, hotSwapState) {
284284 debugModule.tracePath.stopRecording();
285285
286286 stepTo(hotSwapState.currentEventIndex);
287− if (paused) {
288− debugModule.setPaused();
289− } else {
287+ if (!paused) {
290288 debugModule.setContinue(hotSwapState.currentEventIndex);
291289 }
292290 }