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

Check.provide()

Indicate a file is now available.

 

Syntax

Check.provide(sdo);

Parameters

ParameterTypeMandatoryNotesAPI Version
sdoSelf Descriptor Object(tick)The SDO describing the file and it's version.1.0

Return Values

ValueTypeNotesUtil.js version
trueBooleanIndicates the file was successfully marked as provided.1.0
<error>Error

An error occurred, most likely:

1.0

Example

Providing an API defined in a sandbox
void (function ProcessAPI(){
	var self = {
		file: "Process.js",
		ver : 0.3
	}
	
	var dependencies = {
		"Util.js": 0.9,
		"Diag.js": 0.1
	}
	
	Check.required(dependencies, self);
 
    // rest of your code
 
    Check.provide(self);
})();
Availability BETA

Requires:

Contents

Jump to:

Dependency Checking

Topics: