Why are you treating it as a string list when it would make a lot more sense
to treat it as an array and use the array functions to handle pretty much
everything you are trying to do here?  Inserting array elements is a hell of
a lot simpler than manipulating a string list.

Also, whats with the names of the methods?  "insertAtTail"?  How about a
simple append/prepend/insertAt mehod names?

As seen here : http://jsfiddle.net/5sQwU/1/

Way less code and much more functionality and extendable.  That said, it is
just an array that you are pretending to use as a list, though you could
store anything in the list such as an object but that brings it back to
being an array.

I honestly don't see the point of the plugin....unless i am missing the
point?

-----Original Message-----
From: Adrian Statescu [mailto:mergeso...@gmail.com] 
Sent: Saturday, 10 March 2012 10:00 PM
To: MooTools Users
Subject: [Moo] LinkedList

Linked List Plugin:
forge: http://mootools.net/forge/p/linkedlist
source: https://github.com/thinkphp/LinkedList/
demo: http://thinkphp.github.com/LinkedList/
a bientot!

Reply via email to