Permalink
Browse files

fix require in relations #3bbb454e3ccd95cc440cdbf7df82c1d4e89beb70

  • Loading branch information...
1 parent 956f192 commit 727689002e1e895391205914ccc01330620ade44 @maccman maccman committed Apr 2, 2012
Showing with 5 additions and 7 deletions.
  1. +4 −6 lib/relation.js
  2. +1 −1 src/relation.coffee
View
Oops, something went wrong.
View
@@ -1,6 +1,6 @@
Spine = @Spine or require('spine')
isArray = Spine.isArray
-require = ((value) -> eval(value)) unless require?
+require = @require or ((value) -> eval(value))
class Collection extends Spine.Module
constructor: (options = {}) ->

0 comments on commit 7276890

Please sign in to comment.