JSBlock

 

Synopsis

JSBlock { file=aPath | string=aString; [language=YES|NO;] [framework=YES|NO;] [disabled=YES|NO;] ... };
 
 

Description

JSBlock is very similar to WOJavaScript exept it has language parameter where you can give the JavaScript language version.
 
 
 
file
Path to the file containing the script. The path can be statically specified in the declaration file or it can be an NSString, an object that responds to a description message by returning an NSString, or a method that returns an NSString.
string
String containing the script. Typically, string is an NSString object, an object that responds to a description message by returning an NSString, or a method that returns an NSString.
language
Script language. It can be "JavaScript1.1", "JScript", etc ....
framework
Where to search the JavaScript file. If framework is given file will be searched within that one.
disabled
If set to YES JSBlock won't display.