Hi,
I saw that all the sample apps use the init.js file to initialize the application. Inside this file, there are include statements like those below:
include("Framework/kontx/1.1/src/all.js");
include("Javascript/core/preferences.js");
include("Javascript/core/snippetableview.js");
There are few things that i don't understand about it:
- Does the include() statement is part of Javascript?
- Does the supplied path for the include() statement should be relative to the "Contents" folder?
- Why does the "Framework" folder is not located under the "Contents" folder of each application? On the other hand, the "Javascript" folder is actually there in all the sample apps. How does the Include() statement knows where to find the "Framework" folder?
I would be grateful if you could expline to me this issue.
Thanks!