Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 4 made on Saturday May 21, 2011 at 23:53
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,992
Y/W. Thank you for editing the title as well. I hope I did an OK job of explaining which scope is active for 'this' during callback.

I often use JSLint to find syntax errors and typos. Another 'gotcha' I often run into is a reference to variables or fields where I specify the wrong casing. Note that JSLint will NOT catch this type of error.

For example:

var o = {};
o.myField = 123;
System.print(o.MyField);
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse