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 module’s data object
this.data
Determine if the suspect is an Array.
var is_array = function( suspect )
Determines if the suspect is a Boolean.
var is_bool = function( suspect )
Determines if the suspect is a Date.
var is_date = function( suspect )
Checks if a variable is undefined.
var is_defined = function( suspect )
Determines if the suspect is a Number.
var is_number = function( suspect )
Determine if the suspect string represents a numeric value.
var is_numeric = function( suspect )
Determines if the suspect is a RegExp.
var is_regex = function( suspect )
Determine the suspect is a String.
var is_string = function( suspect )
Determine an object’s type strictly by comparing constructors.
var is_typeof = function( type, suspect )
Checks if a variable is defined.
var is_undefined = function( suspect )
Method to add a method to an object (ie.
Function.prototype.method = function( name, func )
The module’s name (string)
this.name
Boolean to turn tests on/off
this.run_tests
Array of test files to run
this.tests