Browse files

makes jslint happy regarding sideeffects in the constructor

  • Loading branch information...
1 parent 1e785aa commit 63eaff9c436f645f592e1fdfeeac16e6dd2640ba @caillou committed Feb 20, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 1 Routes/js/require/app.js
View
4 1 Routes/js/require/app.js
@@ -1,7 +1,9 @@
/*global Backbone: false, require: false */
require([ "Router" ], function (Router) {
- new Router();
"use strict";
+ var router;
+
+ router = new Router();
Backbone.history.start();
});

0 comments on commit 63eaff9

Please sign in to comment.