๐Ÿ“ฆ shadcn / rugrat-demo

๐Ÿ“„ app.js ยท 18 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18// Generated by CoffeeScript 1.3.1
(function() {

  define(["backbone", "marionette"], function(Backbone, Marionette) {
    this.App = new Backbone.Marionette.Application();
    this.App.addRegions({
      mainRegion: "#main"
    });
    this.App.on("initialize:after", function() {
      if (!Backbone.history.started) {
        return Backbone.history.start();
      }
    });
    return this.App;
  });

}).call(this);