Sha256: 751dfb5295b8d2509c42cdee87f65244c3cdde3fe908ea41c432252cd5dba5cc

Contents?: true

Size: 355 Bytes

Versions: 9

Compression:

Stored size: 355 Bytes

Contents

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

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

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

    m.init = function() {
        
    };

    m.initWhenReady();

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
modjs-architecture-0.7.0 templates/module.js
modjs-architecture-0.6.8 templates/module.js
modjs-architecture-0.6.7 templates/module.js
modjs-architecture-0.6.6 templates/module.js
modjs-architecture-0.6.4 templates/module.js
modjs-architecture-0.6.3 templates/module.js
modjs-architecture-0.6.2 templates/module.js
modjs-architecture-0.6.1 templates/module.js
modjs-architecture-0.6.0 templates/module.js