Add ensureBehaviors() to detachBehavior*()
Need to add ensureBehaviors() to detachBehavior*(). The intent may be to detach behaviors defined in behaviors(). In the original implementation, if these behaviors() are not yet attached, they can not selectively be detached.
Showing
Please register or sign in to comment