File: script_context.javascript

package info (click to toggle)
k3d 0.4.3.0-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 51,716 kB
  • ctags: 81,610
  • sloc: cpp: 283,698; ansic: 64,095; xml: 61,533; sh: 9,026; makefile: 5,282; python: 431; perl: 308; awk: 130
file content (9 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
//javascript

if(Object)
	Application.ui.Message("This script is executing within an object context", "script_context:");
else if(Document)
	Application.ui.Message("This script is executing within a document context", "script_context:");
else
	Application.ui.Message("This script is executing within the global context", "script_context:");