Hi,
I have a question about SFS's javascript extension capabilities :
Is it possible to call functions from other javascript files (they are in the same directory) from a javascript extension?
(I have some framework-type javascript code, which I don't want to paste inside each extension for maintainence reasons)
Thanks!
Noam
Cross-file referencing in javascript extensions?
Yes you can use the #include directive, which is not standard in Javascript but it is in Actionscript ( the Adobe's brother language of Javascript )
Example:
Example:
Code: Select all
#include "myLibrary.as"
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 19 guests