Permalink
Browse files

Merge pull request #81 from syranez/patch-1

Fixed wrong property name in customEvents usage.
  • Loading branch information...
2 parents 649a784 + 0badd61 commit bb094fbc6302bc33ea3dc9e381350fd63f8845b6 @rvagg rvagg committed Dec 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bean.js
View
@@ -551,7 +551,7 @@
}
type = isTypeStr && typeSpec.replace(nameRegex, '')
- if (type && customEvents[type]) type = customEvents[type].type
+ if (type && customEvents[type]) type = customEvents[type].base
if (!typeSpec || isTypeStr) {
// off(el) or off(el, t1.ns) or off(el, .ns) or off(el, .ns1.ns2.ns3)

0 comments on commit bb094fb

Please sign in to comment.