Rename fuse.dom.Element#insertBefore, insertAfter, prepend, and append
Reported by John-David Dalton | June 9th, 2010 @ 02:03 PM
Rename fuse.dom.Element#append
to
appendChild
Rename fuse.dom.Element#prepend
to
prependChild
Rename fuse.dom.Element#inertAfter
to
appendSibling
Rename fuse.dom.Element#insertBefore
to
prependSibling
And add unit tests for these methods.
Comments and changes to this ticket
-
Radoslav Stankov June 10th, 2010 @ 03:34 AM
- Assigned user set to John-David Dalton
I think that prototypes Element#insert should also be available + prototype don't expose Element._insertionTranslations for adding extensions to insert. It will be nice if FuseJS have such functionality.
p.s. If something like _insertionTranslations is exposed methods like insert({into:element}) insert({instead:element}) could be added
-
John-David Dalton June 11th, 2010 @ 12:32 AM
- Assigned user cleared.
FuseJS's API goes from convenient/overloaded to very specific.
I plan on keepingfuse.dom.Element#insert
as the convenient but not necessarily speedy option. -
John-David Dalton August 19th, 2010 @ 10:48 PM
- State changed from new to resolved
- Assigned user set to John-David Dalton
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.