The missing function

Yesterday was fraught with changes, only for me to dump them all today! 1.0.5 will have to wait a bit longer.

For all that have downloaded 1.0.4 there was a missing function in download, the current zip file on the site now contains the working “clone” function.

I did try to copy the jQuery extend function, however, this wasn’t good for the speed of bHive with massive recursion loops happening. Instead, I’ve gone with a parasitic clone function… Who knew 4 lines could be the key to making bHive easier to use!

This now means that you can achieve the same effect as the Adobe Flash object.duplicateMovieClip method to create multiple instances of one object. Handy if you want loads of trees, as in my new demo.


Leave a Reply