Side navigation
#8077 closed bug (duplicate)
Opened January 27, 2011 05:47PM UTC
Closed January 27, 2011 06:28PM UTC
Last modified January 27, 2011 06:50PM UTC
$.subclass has no root functions
Reported by: | danheberden | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.5 |
Component: | core | Version: | 1.5rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
While a subclassed item has it's own copy of $.fn, root functions such as $.each aren't copied.
This explains it best: http://jsfiddle.net/danheberden/RhwE4/
A quick summary:
var $sub = $.subclass(); typeof $.each; // "function" typeof $sub.each // "undefined"
Attachments (0)
Change History (7)
Changed January 27, 2011 05:48PM UTC by comment:1
component: | unfiled → core |
---|
Changed January 27, 2011 05:49PM UTC by comment:2
summary: | $.subclass has not root functions → $.subclass has no root functions |
---|
Changed January 27, 2011 05:59PM UTC by comment:3
cc: | → wycats |
---|---|
priority: | undecided → high |
Changed January 27, 2011 06:28PM UTC by comment:5
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed January 27, 2011 06:50PM UTC by comment:7
cc: | wycats |
---|---|
milestone: | 1.next → 1.5 |
priority: | high → blocker |