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 3 made on Wednesday November 10, 2010 at 01:42
BluPhenix
Long Time Member
Joined:
Posts:
December 2008
371
A library has to have a comment block at the beginning (nothing before it):

/*!
@title com.your.library.name
@version 0.1
@author Your Name
*/

Then you'll see it in the building blocks.

Lyndel the biggest limit of eval is that you have to update the label that is containing the code. With the libraries you just edit the library .js and it's done. (I frequently forget to use the reload from file button, let alone to update a label with code :). And Crockford says: eval is evil :).


Hosting Services by ipHouse