JeffreyZhao/jscex — Issue #6: binding object and $await
Author: fantasybei
Created: 2012-02-16 16:29:50+00:00
State: open

Hi Jeffey,

please help to have a look at the following two code snippet:

and

in the first suitation, in the obj.funcA method, the this will refer to the window, but i want to refer to the obj object, and in the second code, seems the $await is not available, it show "[WARNING] An unhandled error occurred: ReferenceError: $await is not defined" in firebug console.

Can you give some help? do i use it incorrectly or ?