Permalink
Browse files

less indirection

  • Loading branch information...
1 parent b406826 commit 634f01a6a9efb879bb3634775d5ea1f657465cbd @dominictarr committed Dec 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 schema.js
View
@@ -14,7 +14,7 @@ module.exports = function (schema) {
var r = rules[i]
var m = key.match(r.rx)
if(m && m.index === 0)
- return r.fn
+ return r.fn(key)
}
}

0 comments on commit 634f01a

Please sign in to comment.