Post 7 made on Thursday August 12, 2010 at 00:44 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,999 |
|
|
Drewi,
I think that what is wrong (as SWORDS has pointed out) is that in PEPv2, you checked your library (selected the checkbox) either in System Properties or Activity Properties which automatically causes the library to be loaded (what you are doing with System.include). You then issued System.include on your JS file causing the file to be executed 2 times (you can accomplish the same thing by doing System.include 2+ times on your JS file). You can do one or the other but not both.
If using System.include, don't check the library for sure at the system level and don't check it for sure at the activity level.
Note that System.include() was provided for use earlier prior to Philips adding the 'Library' selection as part of the editor.
|
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|