(info) This AI is still in early stages of development.

Self Descriptor Object

Define the filename and version of your script...

 

Object structure

The object is a simple JS object with two properties:

  • file – the filename, including extension, as a string (eg. "foo.js")
  • ver – the file version, as a number (eg. 1.2)

Example

var self = {
	file: "foo.js",
	ver : 1.2
}

Availability

Requires:

  • Util.js v0.8 or above

See Also

Related documentation:

You can also pass a self descriptor object in to uOut().