Skip to content

Commit

Permalink
fix(subgenerators): label a model or collection as '@static' only whe…
Browse files Browse the repository at this point in the history
…n meant to be singleton
  • Loading branch information
cueedee committed Mar 18, 2015
1 parent 5f9a5a5 commit bc0f187
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions generators/collection/templates/collection.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#
# @author <%= user.git.user() %>
# @class <%= className %>Collection
# @static
# @extends Backbone.Collection
# @extends Backbone.Collection<% if ( singleton ) { %>
# @static<% } %>
# @moduletype collection
# @version 0.1
###
Expand Down
4 changes: 2 additions & 2 deletions generators/model/templates/model.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#
# @author <%= user.git.user() %>
# @class <%= className %>Model
# @static
# @extends Backbone.Model
# @extends Backbone.Model<% if ( singleton ) { %>
# @static<% } %>
# @moduletype model
# @version 0.1
###
Expand Down

0 comments on commit bc0f187

Please sign in to comment.