diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-12 00:14:04 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-12 00:24:41 -0500 |
| commit | e474ead4fde530b1cb52f96e827269371120cb89 (patch) | |
| tree | aced17c219763f6839f6bb5bd916ce1a1477ffa6 /StoneIsland/www/js/lib/_router.js | |
| parent | e8a2441a1d53648906904d0e7e048502c2eca6e0 (diff) | |
form serialization class
Diffstat (limited to 'StoneIsland/www/js/lib/_router.js')
| -rw-r--r-- | StoneIsland/www/js/lib/_router.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/_router.js b/StoneIsland/www/js/lib/_router.js index d010abef..8742ce44 100644 --- a/StoneIsland/www/js/lib/_router.js +++ b/StoneIsland/www/js/lib/_router.js @@ -33,10 +33,11 @@ var SiteRouter = Router.extend({ }, initialize: function(){ + console.log("HI!") var fn for (var route in this.routes) { fn = this.routes[route] - if (! fn in this) { + if (! this[fn]) { this[fn] = this.default_view(fn) } } |
