Fix default patterns to not be recorded

This commit is contained in:
Andrew Miner
2015-01-10 02:16:38 -08:00
parent 2f7ae584a0
commit f5681a84aa
5 changed files with 37 additions and 17 deletions
+2
View File
@@ -34,6 +34,8 @@ module.exports = class Item extends BaseModel
@recipes.push recipe
compareTo: (that)->
if this.slug isnt that.slug
return if this.slug < that.slug then -1 else +1
if this.name isnt that.name
return if this.name < that.name then -1 else +1
return 0