This AI is still in early stages of development.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Dependency checking functions generally require a "self descriptor" object...

 

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
}

See also

Functions that use self descriptor objects:

  • uNeed
  • uProvide
  • uOut() – output a message, optionally prefixed with file and version from self descriptor object

 

  • No labels