Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 actions, NinjsModule
 add_module, NinjsApplication
 add_test, NinjsModule
 application.js
C
 call_on_ready, NinjsModule
D
 data, NinjsModule
E
 elements, NinjsModule
 execute, NinjsModule
 existence.js
 extend.js
F
 Functions
I
 is_array
 is_bool
 is_date
 is_defined
 is_number
 is_numeric
 is_regex
 is_string
 is_typeof
 is_undefined
M
 method
 module.js
N
 name, NinjsModule
 nin.js
 NinjsApplication
 NinjsModule
R
 run, NinjsModule
 run_tests, NinjsModule
 run_tests(beta), NinjsModule
S
 set_data, NinjsModule
T
 tests(beta), NinjsModule
V
 Variables, NinjsModule
The actions method contains code to be executed when run is called.
Adds a NinjsModule to the application.
Adds a test file to the tests array (beta).
Waits for the DOM to be ready and then executes a callback.
this.data
The module’s data object
Method to define module elements.
Wrapper method that set’s up the environment and then calls actions.
var is_array = function(suspect)
Determine if the suspect is an Array.
var is_bool = function(suspect)
Determines if the suspect is a Boolean.
var is_date = function(suspect)
Determines if the suspect is a Date.
var is_defined = function(suspect)
Checks if a variable is undefined.
var is_number = function(suspect)
Determines if the suspect is a Number.
var is_numeric = function(suspect)
Determine if the suspect string represents a numeric value.
var is_regex = function(suspect)
Determines if the suspect is a RegExp.
var is_string = function(suspect)
Determine the suspect is a String.
var is_typeof = function(type,
suspect)
Determine an object’s type strictly by comparing constructors.
var is_undefined = function(suspect)
Checks if a variable is defined.
Function.prototype.method = function(name,
func)
Method to add a method to an object (ie.
this.name
The module’s name (string)
An NinjsApplication object serves as your application’s namespace and includes a utility to add modules to the application object.
A NinjsModule is an object which encapsulates a certain behavior or functionality.
Waits for the DOM to load then calls execute.
Runs the test files in the test array.
this.run_tests
Boolean to turn tests on/off
Adds properties to the module’s data object.
this.tests
Array of test files to run
Close