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

Login:
Pass:
 
 

Topic:
jslint
This thread has 1 response. Displaying all posts.
Post 1 made on Thursday October 2, 2008 at 06:53
RomstadtJ
Long Time Member
Joined:
Posts:
June 2008
11
I know a lot of guys are us jslint to check the scripting code, but what do you to about Pronto Command? Just ignore error?

No new global variables introduced.

/*members getGlobal, setGlobal
*/
Post 2 made on Thursday October 2, 2008 at 10:34
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,006
If you are running with the 'default' options of JSLint, you should get NO complaints about missing functions such as System.setGlobal() or System.getGlobal().

For all the scripts I write that are production ready, I maintain a rule that with JSLint, there are 0 Warnings and 0 Errors reported. As the default JSLint settings don't ensure that a variable is declared before it is referenced, I can still have some bugs in runtime that have to be fixed but JSLint saves me TONS of time and prevents having to debug simple syntax errors.
Lyndel McGee
Philips Pronto Addict/Beta Tester

Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse