Sha256: 42d38e476cc3deccef453b44eb87968bc1377e5fab481e10ca32d73f9830c88c

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

<%= app_name %>.module("<%= sub_app_name %>", function (<%= sub_app_name %>, <%= app_name %>, Backbone, Marionette, $, _) {
  <%= sub_app_name %>.Router = Marionette.AppRouter.extend({
    appRoutes: {}
  });

  var API = {};

  <%= sub_app_name %>.addInitializer(function() {
    router = new <%= sub_app_name %>.Router({
      controller: API
    });
  });
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
marionette_dust-0.1.0 lib/generators/md/common/templates/app.js
marionette_dust-0.0.3 lib/generators/md/common/templates/app.js