soyjavi/QuoJS — pull request #49 by mbradshawabs (2013-02-14 16:31:27+00:00)
Title: Bug fix: Quo element is an empty array.

I'm encountering an odd edge condition when doing jasmine testing on my app that is for some reason causing the "this" object in quo.element.coffee attr function to be an empty array. I haven't quite determined why the object ends in this condition, but in some cases it is happening. In any case, adding this error check let's quo continue to function.

I don't believe that this error check could cause any issue that would break functionality, so I think it's a safe addition.