iamnoah/writeCapture — pull request #52 by danbouckley (2012-08-15 09:14:04+00:00)
Title: Changed for...in loop in the exec function + queuing error

Looped the array using the array.length property. This does not loop through any array methods such as those extended by prototype.js

Write Capture 2 has fixed a few bugs but we've been experiencing but I've noticed a few array iteration conflicts if the array class has been extended. I'm aware a few javascript libraries do this (such as prototype) and have converted them to iterate over the array.length property which seems to be functioning fine.

Using the simple API: At the end of the queue javascript would throw an error as 'w.el' was undefined. I've done a quick fix for this by killing the queue if the next thing in the queue is undefined.