Sha256: 2dcaed49ae7d782a63d0b8fa1b5dcbc06772865cac2096ca9bb551bff5ff52f2
Contents?: true
Size: 381 Bytes
Versions: 15
Compression:
Stored size: 381 Bytes
Contents
MainRouter = Backbone.Router.extend initialize: -> window.Root = new window.RootView() window.Root.render() if window.Root routes: "" : "index" "/" : "index" clearView: () -> if @aView $(@aView.el).empty() @aView = undefined index: -> @clearView() $ -> app.registerRouter( MainRouter )
Version data entries
15 entries across 15 versions & 1 rubygems