Fix misc. bugs caused by refactoring

This commit is contained in:
Andrew Miner
2015-02-18 16:11:17 -08:00
parent e88821d449
commit aab3baec1a
16 changed files with 116 additions and 178 deletions
+3
View File
@@ -59,6 +59,9 @@ module.exports = class ItemSlug
# Public Methods ###############################################################################
compareTo: (that)->
return ItemSlug.compare this, that
matches: (slug, options={exact:false})->
return false unless slug?.constructor?.name is 'ItemSlug'