__defineSetter__ is deprecated.

In IE10 - and possibly older, untested - Iugo throws "Object doesn't
support property or method '__defineSetter__' when in use" when in use
and when running the tests.

This changes it to use Object.defineProperty instead.


I haven't regenerated the minified files as I don't know what minifier you're using, just so you're aware :-)

Tests were run in IE10 on Windows, Opera 12.15 on Linux, Firefox 21 on Linux, Chrome 26 on Linux.

Cheers :-)