Self Descriptor Object

(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 }