We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34e32d commit 3a2baabCopy full SHA for 3a2baab
component/cache.js
@@ -27,7 +27,7 @@ ChooComponentCache.prototype.render = function (Component) {
27
}
28
29
assert.equal(typeof Component.identity, 'function', 'ChooComponentCache.render: Component.identity should be type function')
30
- var id = Component.identity(args)
+ var id = Component.identity.apply(Component, args)
31
assert.equal(typeof id, 'string', 'ChooComponentCache.render: Component.identity should return type string')
32
33
var el = this.cache[id]
0 commit comments