/templates/collection.js
JavaScript | 14 lines | 7 code | 6 blank | 1 comment | 1 complexity | 46089a37652a4f7e9272e4ca66cf54ef MD5 | raw file
- /*global <%= _.camelize(appname) %>, Backbone*/
- <%= _.camelize(appname) %>.Collections = <%= _.camelize(appname) %>.Collections || {};
- (function () {
- 'use strict';
- <%= _.camelize(appname) %>.Collections.<%= _.classify(name) %> = Backbone.Collection.extend({
- model: <%= _.camelize(appname) %>.Models.<%= _.classify(name) %>
- });
- })();