Sha256: bd1f7895258397c3267c70b144149c339b53b97e2a3352714a64a9b4a0fbe496

Contents?: true

Size: 347 Bytes

Versions: 4

Compression:

Stored size: 347 Bytes

Contents

(function(app) {
    var m = app.add_module("<%= arguments[1].gsub(/^_/, '') %>");
<% if options[:e] %>

    //= require "../elements/<%= arguments[1] %>.elements"
<% end %>
<% if options[:m] %>

    //= require "../models/<%= arguments[1] %>.model"
<% end %>

    m.actions = function() {
        
    }

    m.run();
})(<%= blueprint[:name] %>);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
modjs-architecture-0.3.5 templates/module.js
modjs-architecture-0.3.3 templates/module.js
modjs-architecture-0.3.2 templates/module.js
modjs-architecture-0.3.1 templates/module.js