Hi,
When you use object literal notation, the right-hand side of an
initialization (the bit after the colon [:]) is evaluated when the
literal is evaluated, and then the *value* of the result is used to
initialize that property on the object created by the literal (the
options object you're passin
Hi,
Sorry, just realized that while my previous answer is hopefully
helpful in terms of why what you were doing doesn't work, it *doesn't*
help you alias methods. :-) A couple of options for you:
If you want to change that code as little as possible, you can alias
when the `initialize` method is