Sha256: 84dd4fe07508cea42fe32ac17e39aa4e27d1ae4cb253aaf9f9f61c8f4ae7e719
Contents?: true
Size: 695 Bytes
Versions: 2
Compression:
Stored size: 695 Bytes
Contents
/** * TODO: add description of class * @author: * @class: <%= config[:utility_name] %>Utility * */ /* global define */ var <%= config[:app_name] %> = <%= config[:app_name] %> || {}; (function() { 'use strict'; define([ 'jquery', 'underscore', ], function($, _) { <%= config[:app_name] %>.<%= config[:utility_name] %>Utility = { //TODO: Define all your utility methods here sayHello: function() { console.log('Hello from the main utility'); } }; return <%= config[:app_name] %>.<%= config[:utility_name] %>Utility; }); }());
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
backbone_generator-0.0.5 | lib/backbone_generator/generators/utilities/template/Utility.tt |
backbone_generator-0.0.4 | lib/backbone_generator/generators/utilities/template/Utility.tt |