ninjs 0.9.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +2 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +38 -0
- data/README.textile +1 -1
- data/Rakefile +60 -0
- data/VERSION +1 -0
- data/lib/ninjs.rb +0 -1
- data/lib/ninjs/command.rb +16 -1
- data/lib/ninjs/manifest.rb +1 -1
- data/lib/ninjs/project.rb +74 -91
- data/ninjs.gemspec +305 -104
- data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/jquery.easing-1.3.pack.js +72 -0
- data/repository/jquery/fancybox/assets/1.3.1/scss/fancybox.scss +69 -0
- data/repository/jquery/ui/1.8.7.js +783 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.accordion.css +19 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.all.css +11 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.autocomplete.css +53 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.base.css +11 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.button.css +38 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.core.css +41 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.datepicker.css +68 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.dialog.css +21 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.progressbar.css +11 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.resizable.css +20 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.selectable.css +10 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.slider.css +24 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.tabs.css +18 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.theme.css +252 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_222222_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_2e83ff_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_454545_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_888888_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_cd0a0a_256x240.png +0 -0
- data/repository/jquery/ui/latest.js +1 -0
- data/repository/ninjs/core/.core.pdoc.yaml +0 -0
- data/repository/ninjs/core/.existence.pdoc.yaml +12 -0
- data/repository/ninjs/core/.extend.pdoc.yaml +0 -0
- data/repository/ninjs/core/.nin.pdoc.yaml +0 -0
- data/repository/ninjs/core/application.js +43 -0
- data/repository/ninjs/core/existence.js +221 -11
- data/repository/ninjs/core/extend.js +18 -0
- data/repository/ninjs/core/module.js +230 -0
- data/repository/ninjs/core/nin.js +3 -137
- data/repository/ninjs/docs/Data/ClassHierarchy.nd +0 -0
- data/repository/ninjs/docs/Data/ConfigFileInfo.nd +0 -0
- data/repository/ninjs/docs/Data/FileInfo.nd +16 -0
- data/repository/ninjs/docs/Data/ImageFileInfo.nd +0 -0
- data/repository/ninjs/docs/Data/ImageReferenceTable.nd +0 -0
- data/repository/ninjs/docs/Data/IndexInfo.nd +0 -0
- data/repository/ninjs/docs/Data/PreviousMenuState.nd +0 -0
- data/repository/ninjs/docs/Data/PreviousSettings.nd +0 -0
- data/repository/ninjs/docs/Data/SymbolTable.nd +0 -0
- data/repository/ninjs/docs/Languages.txt +113 -0
- data/repository/ninjs/docs/Menu.txt +63 -0
- data/repository/ninjs/docs/Topics.txt +81 -0
- data/repository/ninjs/docs/files/core/application-js.html +44 -0
- data/repository/ninjs/docs/files/core/existence-js.html +60 -0
- data/repository/ninjs/docs/files/core/extend-js.html +46 -0
- data/repository/ninjs/docs/files/core/module-js.html +80 -0
- data/repository/ninjs/docs/files/core/nin-js.html +38 -0
- data/repository/ninjs/docs/files/existence-js.html +54 -0
- data/repository/ninjs/docs/index.html +1 -0
- data/repository/ninjs/docs/index/Classes.html +33 -0
- data/repository/ninjs/docs/index/Files.html +45 -0
- data/repository/ninjs/docs/index/Functions.html +57 -0
- data/repository/ninjs/docs/index/General.html +77 -0
- data/repository/ninjs/docs/index/Variables.html +45 -0
- data/repository/ninjs/docs/javascript/main.js +841 -0
- data/repository/ninjs/docs/javascript/prettify.js +1526 -0
- data/repository/ninjs/docs/javascript/searchdata.js +152 -0
- data/repository/ninjs/docs/search/ClassesN.html +20 -0
- data/repository/ninjs/docs/search/FilesA.html +20 -0
- data/repository/ninjs/docs/search/FilesE.html +20 -0
- data/repository/ninjs/docs/search/FilesM.html +20 -0
- data/repository/ninjs/docs/search/FilesN.html +20 -0
- data/repository/ninjs/docs/search/FunctionsA.html +20 -0
- data/repository/ninjs/docs/search/FunctionsC.html +20 -0
- data/repository/ninjs/docs/search/FunctionsE.html +20 -0
- data/repository/ninjs/docs/search/FunctionsI.html +20 -0
- data/repository/ninjs/docs/search/FunctionsM.html +20 -0
- data/repository/ninjs/docs/search/FunctionsR.html +20 -0
- data/repository/ninjs/docs/search/FunctionsS.html +20 -0
- data/repository/ninjs/docs/search/GeneralA.html +20 -0
- data/repository/ninjs/docs/search/GeneralC.html +20 -0
- data/repository/ninjs/docs/search/GeneralD.html +20 -0
- data/repository/ninjs/docs/search/GeneralE.html +20 -0
- data/repository/ninjs/docs/search/GeneralF.html +20 -0
- data/repository/ninjs/docs/search/GeneralI.html +20 -0
- data/repository/ninjs/docs/search/GeneralM.html +20 -0
- data/repository/ninjs/docs/search/GeneralN.html +20 -0
- data/repository/ninjs/docs/search/GeneralR.html +20 -0
- data/repository/ninjs/docs/search/GeneralS.html +20 -0
- data/repository/ninjs/docs/search/GeneralT.html +20 -0
- data/repository/ninjs/docs/search/GeneralV.html +20 -0
- data/repository/ninjs/docs/search/NoResults.html +15 -0
- data/repository/ninjs/docs/search/VariablesD.html +20 -0
- data/repository/ninjs/docs/search/VariablesN.html +20 -0
- data/repository/ninjs/docs/search/VariablesR.html +20 -0
- data/repository/ninjs/docs/search/VariablesT.html +20 -0
- data/repository/ninjs/docs/styles/main.css +828 -0
- data/repository/ninjs/docs/styles/mystyles.css +828 -0
- data/repository/ninjs/tests/index.html +6 -6
- data/repository/ninjs/tests/ninjs.test.js +94 -43
- data/repository/ninjs/tests/ninjs.utilities.test.js +6 -18
- data/repository/ninjs/tests/qunit/qunit.css +197 -0
- data/repository/ninjs/tests/qunit/qunit.js +1415 -0
- data/repository/ninjs/utilities/all.js +2 -1
- data/repository/ninjs/utilities/array.js +3 -3
- data/repository/ninjs/utilities/cookie.js +0 -0
- data/repository/ninjs/utilities/number.js +2 -2
- data/repository/ninjs/utilities/string.js +3 -3
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCore.css +226 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDefault.css +328 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDjango.css +331 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEclipse.css +339 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEmacs.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMDUltra.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMidnight.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreRDark.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDefault.css +117 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDjango.css +120 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEclipse.css +128 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEmacs.css +113 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMDUltra.css +113 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMidnight.css +113 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeRDark.css +113 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCore.scss +216 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDefault.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDjango.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEclipse.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEmacs.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreFadeToGrey.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMDUltra.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMidnight.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreRDark.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDefault.scss +7 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDjango.scss +36 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEclipse.scss +48 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEmacs.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeFadeToGrey.scss +36 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMDUltra.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMidnight.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeRDark.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_theme_template.scss +120 -0
- data/repository/syntaxhighlighter/default.js +2 -1
- data/repository/syntaxhighlighter/shBrushAppleScript.js +1 -1
- data/repository/syntaxhighlighter/shBrushPerl.js +1 -1
- data/repository/syntaxhighlighter/shBrushPhp.js +4 -4
- metadata +317 -33
@@ -0,0 +1,60 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>existence.js</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="existence.js"></a>existence.js</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#existence.js" >existence.js</a></td><td class=SDescription></td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_defined" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">is_defined</a></td><td class=SDescription>Checks if a variable is undefined.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_undefined" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">is_undefined</a></td><td class=SDescription>Checks if a variable is defined.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_typeof" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">is_typeof</a></td><td class=SDescription>Determine an object’s type strictly by comparing constructors.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_numeric" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">is_numeric</a></td><td class=SDescription>Determine if the suspect string represents a numeric value.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_string" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">is_string</a></td><td class=SDescription>Determine the suspect is a String. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_array" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">is_array</a></td><td class=SDescription>Determine if the suspect is an Array. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_number" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">is_number</a></td><td class=SDescription>Determines if the suspect is a Number. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_date" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">is_date</a></td><td class=SDescription>Determines if the suspect is a Date. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_bool" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">is_bool</a></td><td class=SDescription>Determines if the suspect is a Boolean. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_regex" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">is_regex</a></td><td class=SDescription>Determines if the suspect is a RegExp. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>
|
17
|
+
|
18
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_defined"></a>is_defined</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_defined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Checks if a variable is undefined.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_undefined" class=LFunction id=link11 onMouseOver="ShowTip(event, 'tt2', 'link11')" onMouseOut="HideTip('tt2')">is_undefined</a></p></div></div></div>
|
19
|
+
|
20
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_undefined"></a>is_undefined</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_undefined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Checks if a variable is defined.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_defined" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt1', 'link12')" onMouseOut="HideTip('tt1')">is_defined</a></p></div></div></div>
|
21
|
+
|
22
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_typeof"></a>is_typeof</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_typeof = function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine an object’s type strictly by comparing constructors.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>type</td><td class=CDLDescription>The type you expect (ie. String, Number, Array without quotes: is_typeof(String, ‘hello’): // true)</td></tr><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>The variable to check against type</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_numeric" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt4', 'link13')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link14 onMouseOver="ShowTip(event, 'tt5', 'link14')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_array" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt6', 'link15')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_number" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt7', 'link16')" onMouseOut="HideTip('tt7')">is_number</a>, <a href="#is_date" class=LFunction id=link17 onMouseOver="ShowTip(event, 'tt8', 'link17')" onMouseOut="HideTip('tt8')">is_date</a>, <a href="#is_bool" class=LFunction id=link18 onMouseOver="ShowTip(event, 'tt9', 'link18')" onMouseOut="HideTip('tt9')">is_bool</a>, <a href="#is_regex" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt10', 'link19')" onMouseOut="HideTip('tt10')">is_regex</a></p></div></div></div>
|
23
|
+
|
24
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_numeric"></a>is_numeric</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_numeric = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine if the suspect string represents a numeric value.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>variable to check for numeric value</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_number" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt7', 'link20')" onMouseOut="HideTip('tt7')">is_number</a></p></div></div></div>
|
25
|
+
|
26
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_string"></a>is_string</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_string = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine the suspect is a String. This is a proxy method for is_typeof(String, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>supect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_typeof" class=LFunction id=link21 onMouseOver="ShowTip(event, 'tt3', 'link21')" onMouseOut="HideTip('tt3')">is_typeof</a>, <a href="#is_numeric" class=LFunction id=link22 onMouseOver="ShowTip(event, 'tt4', 'link22')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_array" class=LFunction id=link23 onMouseOver="ShowTip(event, 'tt6', 'link23')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_number" class=LFunction id=link24 onMouseOver="ShowTip(event, 'tt7', 'link24')" onMouseOut="HideTip('tt7')">is_number</a>, <a href="#is_date" class=LFunction id=link25 onMouseOver="ShowTip(event, 'tt8', 'link25')" onMouseOut="HideTip('tt8')">is_date</a>, <a href="#is_bool" class=LFunction id=link26 onMouseOver="ShowTip(event, 'tt9', 'link26')" onMouseOut="HideTip('tt9')">is_bool</a>, <a href="#is_regex" class=LFunction id=link27 onMouseOver="ShowTip(event, 'tt10', 'link27')" onMouseOut="HideTip('tt10')">is_regex</a></p></div></div></div>
|
27
|
+
|
28
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_array"></a>is_array</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_array = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine if the suspect is an Array. This is a proxy method for is_typeof(Array, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_typeof" class=LFunction id=link28 onMouseOver="ShowTip(event, 'tt3', 'link28')" onMouseOut="HideTip('tt3')">is_typeof</a>, <a href="#is_numeric" class=LFunction id=link29 onMouseOver="ShowTip(event, 'tt4', 'link29')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link30 onMouseOver="ShowTip(event, 'tt5', 'link30')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_number" class=LFunction id=link31 onMouseOver="ShowTip(event, 'tt7', 'link31')" onMouseOut="HideTip('tt7')">is_number</a>, <a href="#is_date" class=LFunction id=link32 onMouseOver="ShowTip(event, 'tt8', 'link32')" onMouseOut="HideTip('tt8')">is_date</a>, <a href="#is_bool" class=LFunction id=link33 onMouseOver="ShowTip(event, 'tt9', 'link33')" onMouseOut="HideTip('tt9')">is_bool</a>, <a href="#is_regex" class=LFunction id=link34 onMouseOver="ShowTip(event, 'tt10', 'link34')" onMouseOut="HideTip('tt10')">is_regex</a></p></div></div></div>
|
29
|
+
|
30
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_number"></a>is_number</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_number = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determines if the suspect is a Number. This is a proxy method for is_typeof(Number, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_typeof" class=LFunction id=link35 onMouseOver="ShowTip(event, 'tt3', 'link35')" onMouseOut="HideTip('tt3')">is_typeof</a>, <a href="#is_numeric" class=LFunction id=link36 onMouseOver="ShowTip(event, 'tt4', 'link36')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link37 onMouseOver="ShowTip(event, 'tt5', 'link37')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_array" class=LFunction id=link38 onMouseOver="ShowTip(event, 'tt6', 'link38')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_date" class=LFunction id=link39 onMouseOver="ShowTip(event, 'tt8', 'link39')" onMouseOut="HideTip('tt8')">is_date</a>, <a href="#is_bool" class=LFunction id=link40 onMouseOver="ShowTip(event, 'tt9', 'link40')" onMouseOut="HideTip('tt9')">is_bool</a>, <a href="#is_regex" class=LFunction id=link41 onMouseOver="ShowTip(event, 'tt10', 'link41')" onMouseOut="HideTip('tt10')">is_regex</a></p></div></div></div>
|
31
|
+
|
32
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_date"></a>is_date</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_date = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determines if the suspect is a Date. This is a proxy method for is_typeof(Date, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_typeof" class=LFunction id=link42 onMouseOver="ShowTip(event, 'tt3', 'link42')" onMouseOut="HideTip('tt3')">is_typeof</a>, <a href="#is_numeric" class=LFunction id=link43 onMouseOver="ShowTip(event, 'tt4', 'link43')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link44 onMouseOver="ShowTip(event, 'tt5', 'link44')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_array" class=LFunction id=link45 onMouseOver="ShowTip(event, 'tt6', 'link45')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_number" class=LFunction id=link46 onMouseOver="ShowTip(event, 'tt7', 'link46')" onMouseOut="HideTip('tt7')">is_number</a>, <a href="#is_bool" class=LFunction id=link47 onMouseOver="ShowTip(event, 'tt9', 'link47')" onMouseOut="HideTip('tt9')">is_bool</a>, <a href="#is_regex" class=LFunction id=link48 onMouseOver="ShowTip(event, 'tt10', 'link48')" onMouseOut="HideTip('tt10')">is_regex</a></p></div></div></div>
|
33
|
+
|
34
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_bool"></a>is_bool</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_bool = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determines if the suspect is a Boolean. This is a proxy method for is_typeof(Boolean, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_typeof" class=LFunction id=link49 onMouseOver="ShowTip(event, 'tt3', 'link49')" onMouseOut="HideTip('tt3')">is_typeof</a>, <a href="#is_numeric" class=LFunction id=link50 onMouseOver="ShowTip(event, 'tt4', 'link50')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link51 onMouseOver="ShowTip(event, 'tt5', 'link51')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_array" class=LFunction id=link52 onMouseOver="ShowTip(event, 'tt6', 'link52')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_number" class=LFunction id=link53 onMouseOver="ShowTip(event, 'tt7', 'link53')" onMouseOut="HideTip('tt7')">is_number</a>, <a href="#is_regex" class=LFunction id=link54 onMouseOver="ShowTip(event, 'tt10', 'link54')" onMouseOut="HideTip('tt10')">is_regex</a></p></div></div></div>
|
35
|
+
|
36
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_regex"></a>is_regex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_regex = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determines if the suspect is a RegExp. This is a proxy method for is_typeof(RegExp, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_typeof" class=LFunction id=link55 onMouseOver="ShowTip(event, 'tt3', 'link55')" onMouseOut="HideTip('tt3')">is_typeof</a>, <a href="#is_numeric" class=LFunction id=link56 onMouseOver="ShowTip(event, 'tt4', 'link56')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link57 onMouseOver="ShowTip(event, 'tt5', 'link57')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_array" class=LFunction id=link58 onMouseOver="ShowTip(event, 'tt6', 'link58')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_number" class=LFunction id=link59 onMouseOver="ShowTip(event, 'tt7', 'link59')" onMouseOut="HideTip('tt7')">is_number</a>, <a href="#is_bool" class=LFunction id=link60 onMouseOver="ShowTip(event, 'tt9', 'link60')" onMouseOut="HideTip('tt9')">is_bool</a></p></div></div></div>
|
37
|
+
|
38
|
+
</div><!--Content-->
|
39
|
+
|
40
|
+
|
41
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
42
|
+
|
43
|
+
|
44
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>existence.js</div></div><div class=MEntry><div class=MFile><a href="extend-js.html">extend.js</a></div></div><div class=MEntry><div class=MFile><a href="module-js.html">module.js</a></div></div><div class=MEntry><div class=MFile><a href="nin-js.html">nin.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
45
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
|
46
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
<!--START_ND_TOOLTIPS-->
|
51
|
+
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_defined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is undefined.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_undefined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is defined.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_typeof = function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine an object’s type strictly by comparing constructors.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_numeric = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect string represents a numeric value.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_string = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine the suspect is a String. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_array = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect is an Array. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_number = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Number. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_date = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Date. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_bool = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Boolean. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_regex = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a RegExp. </div></div><!--END_ND_TOOLTIPS-->
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
57
|
+
|
58
|
+
|
59
|
+
<script language=JavaScript><!--
|
60
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>extend.js</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="extend.js"></a>extend.js</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#extend.js" >extend.js</a></td><td class=SDescription></td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#method" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">method</a></td><td class=SDescription>Method to add a method to an object (ie. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>
|
17
|
+
|
18
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="method"></a>method</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>Function.prototype.method = function(</td><td class="PParameter prettyprint " nowrap>name,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>func</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Method to add a method to an object (ie. String.method(‘my_method’, my_func); //-> ‘hello’.my_func())</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name</td><td class=CDLDescription>name of the method</td></tr><tr><td class=CDLEntry>func</td><td class=CDLDescription>function definition</td></tr></table><h4 class=CHeading>Returns</h4><p>this === Function</p><blockquote><pre>String.method('custom_method', function() {
|
19
|
+
// define custom_method
|
20
|
+
});
|
21
|
+
|
22
|
+
"hello".custom_method();</pre></blockquote></div></div></div>
|
23
|
+
|
24
|
+
</div><!--Content-->
|
25
|
+
|
26
|
+
|
27
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
28
|
+
|
29
|
+
|
30
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile><a href="existence-js.html">existence.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>extend.js</div></div><div class=MEntry><div class=MFile><a href="module-js.html">module.js</a></div></div><div class=MEntry><div class=MFile><a href="nin-js.html">nin.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
31
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
|
32
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<!--START_ND_TOOLTIPS-->
|
37
|
+
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>Function.prototype.method = function(</td><td class="PParameter prettyprint " nowrap>name,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>func</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Method to add a method to an object (ie. </div></div><!--END_ND_TOOLTIPS-->
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
43
|
+
|
44
|
+
|
45
|
+
<script language=JavaScript><!--
|
46
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,80 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>module.js</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="module.js"></a>module.js</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#module.js" >module.js</a></td><td class=SDescription></td></tr><tr class="SClass"><td class=SEntry><a href="#NinjsModule" >NinjsModule</a></td><td class=SDescription>A NinjsModule is an object which encapsulates a certain behavior or functionality.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#NinjsModule.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#NinjsModule.data" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">data</a></td><td class=SDescription>The module’s data object</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#NinjsModule.name" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">name</a></td><td class=SDescription>The module’s name (string)</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#NinjsModule.run_tests(beta)" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">run_tests (beta)</a></td><td class=SDescription>Boolean to turn tests on/off</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#NinjsModule.tests(beta)" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">tests (beta)</a></td><td class=SDescription>Array of test files to run</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#NinjsModule.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#NinjsModule.actions" >actions</a></td><td class=SDescription>The actions method contains code to be executed when run is called. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#NinjsModule.run" >run</a></td><td class=SDescription>Waits for the DOM to load then calls execute.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#NinjsModule.call_on_ready" >call_on_ready</a></td><td class=SDescription>Waits for the DOM to be ready and then executes a callback.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#NinjsModule.execute" >execute</a></td><td class=SDescription>Wrapper method that set’s up the environment and then calls actions.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#NinjsModule.elements" >elements</a></td><td class=SDescription>Method to define module elements.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#NinjsModule.set_data" >set_data</a></td><td class=SDescription>Adds properties to the module’s data object.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#NinjsModule.add_test" >add_test</a></td><td class=SDescription>Adds a test file to the tests array (beta).</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#NinjsModule.run_tests" >run_tests</a></td><td class=SDescription>Runs the test files in the test array. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="NinjsModule"></a>NinjsModule</h2><div class=CBody><p>A NinjsModule is an object which encapsulates a certain behavior or functionality.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name</td><td class=CDLDescription>the name of the module</td></tr></table><h4 class=CHeading>See Also</h4><p><a href="application-js.html#NinjsApplication" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt5', 'link9')" onMouseOut="HideTip('tt5')">NinjsApplication</a></p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#NinjsModule.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#NinjsModule.data" id=link5 onMouseOver="ShowTip(event, 'tt1', 'link5')" onMouseOut="HideTip('tt1')">data</a></td><td class=SDescription>The module’s data object</td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#NinjsModule.name" id=link6 onMouseOver="ShowTip(event, 'tt2', 'link6')" onMouseOut="HideTip('tt2')">name</a></td><td class=SDescription>The module’s name (string)</td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#NinjsModule.run_tests(beta)" id=link7 onMouseOver="ShowTip(event, 'tt3', 'link7')" onMouseOut="HideTip('tt3')">run_tests (beta)</a></td><td class=SDescription>Boolean to turn tests on/off</td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#NinjsModule.tests(beta)" id=link8 onMouseOver="ShowTip(event, 'tt4', 'link8')" onMouseOut="HideTip('tt4')">tests (beta)</a></td><td class=SDescription>Array of test files to run</td></tr><tr class="SGroup"><td class=SEntry><a href="#NinjsModule.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#NinjsModule.actions" >actions</a></td><td class=SDescription>The actions method contains code to be executed when run is called. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#NinjsModule.run" >run</a></td><td class=SDescription>Waits for the DOM to load then calls execute.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#NinjsModule.call_on_ready" >call_on_ready</a></td><td class=SDescription>Waits for the DOM to be ready and then executes a callback.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#NinjsModule.execute" >execute</a></td><td class=SDescription>Wrapper method that set’s up the environment and then calls actions.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#NinjsModule.elements" >elements</a></td><td class=SDescription>Method to define module elements.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#NinjsModule.set_data" >set_data</a></td><td class=SDescription>Adds properties to the module’s data object.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#NinjsModule.add_test" >add_test</a></td><td class=SDescription>Adds a test file to the tests array (beta).</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#NinjsModule.run_tests" >run_tests</a></td><td class=SDescription>Runs the test files in the test array. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
17
|
+
|
18
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.Variables"></a>Variables</h3></div></div>
|
19
|
+
|
20
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.data"></a>data</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.data</td></tr></table></blockquote><p>The module’s data object</p></div></div></div>
|
21
|
+
|
22
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.name"></a>name</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.name</td></tr></table></blockquote><p>The module’s name (string)</p></div></div></div>
|
23
|
+
|
24
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.run_tests(beta)"></a>run_tests (beta)</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.run_tests</td></tr></table></blockquote><p>Boolean to turn tests on/off</p></div></div></div>
|
25
|
+
|
26
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.tests(beta)"></a>tests (beta)</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.tests</td></tr></table></blockquote><p>Array of test files to run</p></div></div></div>
|
27
|
+
|
28
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.Functions"></a>Functions</h3></div></div>
|
29
|
+
|
30
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.actions"></a>actions</h3><div class=CBody><p>The actions method contains code to be executed when run is called. This method is a placeholder to be overwritten.</p><blockquote><pre> MyModule.actions = function() {
|
31
|
+
// define actions here
|
32
|
+
};</pre></blockquote></div></div></div>
|
33
|
+
|
34
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.run"></a>run</h3><div class=CBody><p>Waits for the DOM to load then calls execute.</p><blockquote><pre>MyModule.run();</pre></blockquote></div></div></div>
|
35
|
+
|
36
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.call_on_ready"></a>call_on_ready</h3><div class=CBody><p>Waits for the DOM to be ready and then executes a callback.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>callback</td><td class=CDLDescription>function to be called when the DOM is ready</td></tr></table><blockquote><pre>MyModule.call_on_ready(function() {
|
37
|
+
// some code to execute when the DOM is ready
|
38
|
+
});</pre></blockquote></div></div></div>
|
39
|
+
|
40
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.execute"></a>execute</h3><div class=CBody><p>Wrapper method that set’s up the environment and then calls actions.</p><blockquote><pre>MyModule.execute();</pre></blockquote></div></div></div>
|
41
|
+
|
42
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.elements"></a>elements</h3><div class=CBody><p>Method to define module elements.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>callback</td><td class=CDLDescription>function to define a module’s elements</td></tr></table><blockquote><pre>MyModule.elements(function() {
|
43
|
+
// element definitions go here
|
44
|
+
});</pre></blockquote></div></div></div>
|
45
|
+
|
46
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.set_data"></a>set_data</h3><div class=CBody><p>Adds properties to the module’s data object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>string or object (if string = key, if object sets multiple properties)</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>value of key if key is string</td></tr></table><blockquote><pre>MyModule.set_data('some_key', 'some_value');
|
47
|
+
MyModule.data.some_key === 'some_value'</pre></blockquote><blockquote><pre>MyModule.set_data({
|
48
|
+
'property_one': 'value_one',
|
49
|
+
'property_two': 'value_two'
|
50
|
+
});
|
51
|
+
MyModule.data.property_one === 'value_one'
|
52
|
+
MyModule.data.property_two === 'value_two'</pre></blockquote></div></div></div>
|
53
|
+
|
54
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.add_test"></a>add_test</h3><div class=CBody><p>Adds a test file to the tests array (beta).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>test_file</td><td class=CDLDescription>File to add to the tests array</td></tr></table><blockquote><pre>MyModule.add_test('mytest.test.js');</pre></blockquote></div></div></div>
|
55
|
+
|
56
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="NinjsModule.run_tests"></a>run_tests</h3><div class=CBody><p>Runs the test files in the test array. This method is automatically called by the execute method if run_tests === true</p></div></div></div>
|
57
|
+
|
58
|
+
</div><!--Content-->
|
59
|
+
|
60
|
+
|
61
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
62
|
+
|
63
|
+
|
64
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile><a href="existence-js.html">existence.js</a></div></div><div class=MEntry><div class=MFile><a href="extend-js.html">extend.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>module.js</div></div><div class=MEntry><div class=MFile><a href="nin-js.html">nin.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
65
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
|
66
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<!--START_ND_TOOLTIPS-->
|
71
|
+
<div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.data</td></tr></table></blockquote>The module’s data object</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.name</td></tr></table></blockquote>The module’s name (string)</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.run_tests</td></tr></table></blockquote>Boolean to turn tests on/off</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.tests</td></tr></table></blockquote>Array of test files to run</div></div><div class=CToolTip id="tt5"><div class=CClass>An NinjsApplication object serves as your application’s namespace and includes a utility to add modules to the application object.</div></div><!--END_ND_TOOLTIPS-->
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
77
|
+
|
78
|
+
|
79
|
+
<script language=JavaScript><!--
|
80
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>nin.js</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="nin.js"></a>nin.js</h1><div class=CBody></div></div></div>
|
15
|
+
|
16
|
+
</div><!--Content-->
|
17
|
+
|
18
|
+
|
19
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
20
|
+
|
21
|
+
|
22
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile><a href="existence-js.html">existence.js</a></div></div><div class=MEntry><div class=MFile><a href="extend-js.html">extend.js</a></div></div><div class=MEntry><div class=MFile><a href="module-js.html">module.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>nin.js</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
23
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
|
24
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
<!--START_ND_TOOLTIPS-->
|
29
|
+
<!--END_ND_TOOLTIPS-->
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
35
|
+
|
36
|
+
|
37
|
+
<script language=JavaScript><!--
|
38
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>/Volumes/Storage/Development/ninjs/repository/ninjs/core/existence.js</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="existence.js"></a>existence.js</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#existence.js" >existence.js</a></td><td class=SDescription></td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_defined" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">is_defined</a></td><td class=SDescription>Checks if a variable is undefined.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_undefined" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">is_undefined</a></td><td class=SDescription>Checks if a variable is defined.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_typeof" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">is_typeof</a></td><td class=SDescription>Determine an object’s type strictly by comparing constructors.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_numeric" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">is_numeric</a></td><td class=SDescription>Determine if the suspect string represents a numeric value.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_string" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">is_string</a></td><td class=SDescription>Determine the suspect is a string. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#is_array" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">is_array</a></td><td class=SDescription>Determine if the suspect is an array. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#is_number" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">is_number</a></td><td class=SDescription>Determines if the suspect is a number. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>
|
17
|
+
|
18
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_defined"></a>is_defined</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_defined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Checks if a variable is undefined.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_undefined" class=LFunction id=link8 onMouseOver="ShowTip(event, 'tt2', 'link8')" onMouseOut="HideTip('tt2')">is_undefined</a></p></div></div></div>
|
19
|
+
|
20
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_undefined"></a>is_undefined</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_undefined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Checks if a variable is defined.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_defined" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">is_defined</a></p></div></div></div>
|
21
|
+
|
22
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_typeof"></a>is_typeof</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_typeof = function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine an object’s type strictly by comparing constructors.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>type</td><td class=CDLDescription>The type you expect (ie. String, Number, Array without quotes: is_typeof(String, ‘hello’): // true)</td></tr><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>The variable to check against type</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_numeric" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt4', 'link10')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link11 onMouseOver="ShowTip(event, 'tt5', 'link11')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_array" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt6', 'link12')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_number" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt7', 'link13')" onMouseOut="HideTip('tt7')">is_number</a>, <is_date>, <is_bool>, <is_regex></p></div></div></div>
|
23
|
+
|
24
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_numeric"></a>is_numeric</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_numeric = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine if the suspect string represents a numeric value.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>variable to check for numeric value</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_number" class=LFunction id=link14 onMouseOver="ShowTip(event, 'tt7', 'link14')" onMouseOut="HideTip('tt7')">is_number</a></p></div></div></div>
|
25
|
+
|
26
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_string"></a>is_string</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_string = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine the suspect is a string. This is a proxy method for is_typeof(String, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>supect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_typeof" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt3', 'link15')" onMouseOut="HideTip('tt3')">is_typeof</a>, <a href="#is_numeric" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt4', 'link16')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_array" class=LFunction id=link17 onMouseOver="ShowTip(event, 'tt6', 'link17')" onMouseOut="HideTip('tt6')">is_array</a>, <a href="#is_number" class=LFunction id=link18 onMouseOver="ShowTip(event, 'tt7', 'link18')" onMouseOut="HideTip('tt7')">is_number</a>, <is_date>, <is_bool>, <is_regex></p></div></div></div>
|
27
|
+
|
28
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_array"></a>is_array</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_array = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine if the suspect is an array. This is a proxy method for is_typeof(Array, suspect).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_numeric" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt4', 'link19')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt5', 'link20')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_number" class=LFunction id=link21 onMouseOver="ShowTip(event, 'tt7', 'link21')" onMouseOut="HideTip('tt7')">is_number</a>, <is_date>, <is_bool>, <is_regex></p></div></div></div>
|
29
|
+
|
30
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="is_number"></a>is_number</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_number = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determines if the suspect is a number. This is a proxy method for is_typeof(Number, suspect)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>suspect</td><td class=CDLDescription>suspect variable to test</td></tr></table><h4 class=CHeading>Returns</h4><p>bool</p><h4 class=CHeading>See Also</h4><p><a href="#is_numeric" class=LFunction id=link22 onMouseOver="ShowTip(event, 'tt4', 'link22')" onMouseOut="HideTip('tt4')">is_numeric</a>, <a href="#is_string" class=LFunction id=link23 onMouseOver="ShowTip(event, 'tt5', 'link23')" onMouseOut="HideTip('tt5')">is_string</a>, <a href="#is_array" class=LFunction id=link24 onMouseOver="ShowTip(event, 'tt6', 'link24')" onMouseOut="HideTip('tt6')">is_array</a>, <is_date>, <is_bool>, <is_regex></p></div></div></div>
|
31
|
+
|
32
|
+
</div><!--Content-->
|
33
|
+
|
34
|
+
|
35
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
36
|
+
|
37
|
+
|
38
|
+
<div id=Menu><div class=MEntry><div class=MFile id=MSelected>existence.js</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div></div></div></div><script type="text/javascript"><!--
|
39
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
40
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Files">Files</option><option value="Functions">Functions</option></select></div></div><!--Menu-->
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
<!--START_ND_TOOLTIPS-->
|
45
|
+
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_defined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is undefined.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_undefined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is defined.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_typeof = function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine an object’s type strictly by comparing constructors.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_numeric = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect string represents a numeric value.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_string = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine the suspect is a string. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_array = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect is an array. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_number = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a number. </div></div><!--END_ND_TOOLTIPS-->
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
51
|
+
|
52
|
+
|
53
|
+
<script language=JavaScript><!--
|
54
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head><meta http-equiv="Refresh" CONTENT="0; URL=files/core/application-js.html"></head></html>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Class Index</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="IndexPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Index><div class=IPageTitle>Class Index</div><div class=INavigationBar>$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · <a href="#N">N</a> · O · P · Q · R · S · T · U · V · W · X · Y · Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="N"></a>N</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/application-js.html#NinjsApplication" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>NinjsApplication</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>NinjsModule</a></td></tr></table>
|
15
|
+
<!--START_ND_TOOLTIPS-->
|
16
|
+
<div class=CToolTip id="tt1"><div class=CClass>An NinjsApplication object serves as your application’s namespace and includes a utility to add modules to the application object.</div></div><div class=CToolTip id="tt2"><div class=CClass>A NinjsModule is an object which encapsulates a certain behavior or functionality.</div></div><!--END_ND_TOOLTIPS-->
|
17
|
+
|
18
|
+
</div><!--Index-->
|
19
|
+
|
20
|
+
|
21
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
22
|
+
|
23
|
+
|
24
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="../files/core/application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/existence-js.html">existence.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/extend-js.html">extend.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/module-js.html">module.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/nin-js.html">nin.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="General.html">Everything</a></div></div><div class=MEntry><div class=MIndex id=MSelected>Classes</div></div><div class=MEntry><div class=MIndex><a href="Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
25
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
26
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
27
|
+
|
28
|
+
|
29
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
30
|
+
|
31
|
+
|
32
|
+
<script language=JavaScript><!--
|
33
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>File Index</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="IndexPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Index><div class=IPageTitle>File Index</div><div class=INavigationBar>$#! · 0-9 · <a href="#A">A</a> · B · C · D · <a href="#E">E</a> · F · G · H · I · J · K · L · <a href="#M">M</a> · <a href="#N">N</a> · O · P · Q · R · S · T · U · V · W · X · Y · Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="A"></a>A</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/application-js.html#application.js" class=ISymbol>application.js</a></td></tr><tr><td class=IHeading><a name="E"></a>E</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#existence.js" class=ISymbol>existence.js</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/extend-js.html#extend.js" class=ISymbol>extend.js</a></td></tr><tr><td class=IHeading><a name="M"></a>M</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#module.js" class=ISymbol>module.js</a></td></tr><tr><td class=IHeading><a name="N"></a>N</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/nin-js.html#nin.js" class=ISymbol>nin.js</a></td></tr></table>
|
15
|
+
<!--START_ND_TOOLTIPS-->
|
16
|
+
<!--END_ND_TOOLTIPS-->
|
17
|
+
|
18
|
+
|
19
|
+
<!--START_ND_TOOLTIPS-->
|
20
|
+
<!--END_ND_TOOLTIPS-->
|
21
|
+
|
22
|
+
|
23
|
+
<!--START_ND_TOOLTIPS-->
|
24
|
+
<!--END_ND_TOOLTIPS-->
|
25
|
+
|
26
|
+
|
27
|
+
<!--START_ND_TOOLTIPS-->
|
28
|
+
<!--END_ND_TOOLTIPS-->
|
29
|
+
|
30
|
+
</div><!--Index-->
|
31
|
+
|
32
|
+
|
33
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
34
|
+
|
35
|
+
|
36
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="../files/core/application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/existence-js.html">existence.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/extend-js.html">extend.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/module-js.html">module.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/nin-js.html">nin.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex id=MSelected>Files</div></div><div class=MEntry><div class=MIndex><a href="Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
37
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
38
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
39
|
+
|
40
|
+
|
41
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
42
|
+
|
43
|
+
|
44
|
+
<script language=JavaScript><!--
|
45
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Function Index</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="IndexPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Index><div class=IPageTitle>Function Index</div><div class=INavigationBar>$#! · 0-9 · <a href="#A">A</a> · B · <a href="#C">C</a> · D · <a href="#E">E</a> · F · G · H · <a href="#I">I</a> · J · K · L · <a href="#M">M</a> · N · O · P · Q · <a href="#R">R</a> · <a href="#S">S</a> · T · U · V · W · X · Y · Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="A"></a>A</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.actions" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>actions</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/application-js.html#NinjsApplication.add_module" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>add_module</a>, <span class=IParent>NinjsApplication</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.add_test" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=ISymbol>add_test</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="C"></a>C</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.call_on_ready" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=ISymbol>call_on_ready</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="E"></a>E</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.elements" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" class=ISymbol>elements</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.execute" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" class=ISymbol>execute</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="I"></a>I</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_array" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>is_array</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_bool" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>is_bool</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_date" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=ISymbol>is_date</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_defined" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=ISymbol>is_defined</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_number" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=ISymbol>is_number</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_numeric" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')" class=ISymbol>is_numeric</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_regex" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')" class=ISymbol>is_regex</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_string" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')" class=ISymbol>is_string</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_typeof" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')" class=ISymbol>is_typeof</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_undefined" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')" class=ISymbol>is_undefined</a></td></tr><tr><td class=IHeading><a name="M"></a>M</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/extend-js.html#method" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')" class=ISymbol>method</a></td></tr><tr><td class=IHeading><a name="R"></a>R</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.run" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')" class=ISymbol>run</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.run_tests" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')" class=ISymbol>run_tests</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="S"></a>S</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.set_data" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')" class=ISymbol>set_data</a>, <span class=IParent>NinjsModule</span></td></tr></table>
|
15
|
+
<!--START_ND_TOOLTIPS-->
|
16
|
+
<div class=CToolTip id="tt1"><div class=CFunction>The actions method contains code to be executed when run is called. </div></div><div class=CToolTip id="tt2"><div class=CFunction>Adds a NinjsModule to the application.</div></div><div class=CToolTip id="tt3"><div class=CFunction>Adds a test file to the tests array (beta).</div></div><!--END_ND_TOOLTIPS-->
|
17
|
+
|
18
|
+
|
19
|
+
<!--START_ND_TOOLTIPS-->
|
20
|
+
<div class=CToolTip id="tt4"><div class=CFunction>Waits for the DOM to be ready and then executes a callback.</div></div><!--END_ND_TOOLTIPS-->
|
21
|
+
|
22
|
+
|
23
|
+
<!--START_ND_TOOLTIPS-->
|
24
|
+
<div class=CToolTip id="tt5"><div class=CFunction>Method to define module elements.</div></div><div class=CToolTip id="tt6"><div class=CFunction>Wrapper method that set’s up the environment and then calls actions.</div></div><!--END_ND_TOOLTIPS-->
|
25
|
+
|
26
|
+
|
27
|
+
<!--START_ND_TOOLTIPS-->
|
28
|
+
<div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_array = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect is an Array. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_bool = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Boolean. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_date = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Date. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_defined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is undefined.</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_number = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Number. </div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_numeric = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect string represents a numeric value.</div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_regex = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a RegExp. </div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_string = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine the suspect is a String. </div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_typeof = function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine an object’s type strictly by comparing constructors.</div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_undefined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is defined.</div></div><!--END_ND_TOOLTIPS-->
|
29
|
+
|
30
|
+
|
31
|
+
<!--START_ND_TOOLTIPS-->
|
32
|
+
<div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>Function.prototype.method = function(</td><td class="PParameter prettyprint " nowrap>name,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>func</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Method to add a method to an object (ie. </div></div><!--END_ND_TOOLTIPS-->
|
33
|
+
|
34
|
+
|
35
|
+
<!--START_ND_TOOLTIPS-->
|
36
|
+
<div class=CToolTip id="tt18"><div class=CFunction>Waits for the DOM to load then calls execute.</div></div><div class=CToolTip id="tt19"><div class=CFunction>Runs the test files in the test array. </div></div><!--END_ND_TOOLTIPS-->
|
37
|
+
|
38
|
+
|
39
|
+
<!--START_ND_TOOLTIPS-->
|
40
|
+
<div class=CToolTip id="tt20"><div class=CFunction>Adds properties to the module’s data object.</div></div><!--END_ND_TOOLTIPS-->
|
41
|
+
|
42
|
+
</div><!--Index-->
|
43
|
+
|
44
|
+
|
45
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
46
|
+
|
47
|
+
|
48
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="../files/core/application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/existence-js.html">existence.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/extend-js.html">extend.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/module-js.html">module.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/nin-js.html">nin.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="Files.html">Files</a></div></div><div class=MEntry><div class=MIndex id=MSelected>Functions</div></div><div class=MEntry><div class=MIndex><a href="Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
49
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
50
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
51
|
+
|
52
|
+
|
53
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
54
|
+
|
55
|
+
|
56
|
+
<script language=JavaScript><!--
|
57
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Index</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="IndexPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.51 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Index><div class=IPageTitle>Index</div><div class=INavigationBar>$#! · 0-9 · <a href="#A">A</a> · B · <a href="#C">C</a> · <a href="#D">D</a> · <a href="#E">E</a> · <a href="#F">F</a> · G · H · <a href="#I">I</a> · J · K · L · <a href="#M">M</a> · <a href="#N">N</a> · O · P · Q · <a href="#R">R</a> · <a href="#S">S</a> · <a href="#T">T</a> · U · <a href="#V">V</a> · W · X · Y · Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="A"></a>A</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.actions" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>actions</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/application-js.html#NinjsApplication.add_module" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>add_module</a>, <span class=IParent>NinjsApplication</span></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.add_test" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=ISymbol>add_test</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/application-js.html#application.js" class=ISymbol>application.js</a></td></tr><tr><td class=IHeading><a name="C"></a>C</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.call_on_ready" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=ISymbol>call_on_ready</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="D"></a>D</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.data" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" class=ISymbol>data</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="E"></a>E</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.elements" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" class=ISymbol>elements</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.execute" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>execute</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#existence.js" class=ISymbol>existence.js</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/extend-js.html#extend.js" class=ISymbol>extend.js</a></td></tr><tr><td class=IHeading><a name="F"></a>F</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><span class=ISymbol>Functions</span><div class=ISubIndex><span class=IParent>Global</span><div class=ISubIndex><a href="../files/core/existence-js.html#Functions" class=IFile>core/<wbr>existence.js</a><a href="../files/core/extend-js.html#Functions" class=IFile>core/<wbr>extend.js</a></div><a href="../files/core/application-js.html#NinjsApplication.Functions" class=IParent>NinjsApplication</a><a href="../files/core/module-js.html#NinjsModule.Functions" class=IParent>NinjsModule</a></div></td></tr><tr><td class=IHeading><a name="I"></a>I</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_array" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>is_array</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_bool" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=ISymbol>is_bool</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_date" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=ISymbol>is_date</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_defined" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=ISymbol>is_defined</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_number" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')" class=ISymbol>is_number</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_numeric" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')" class=ISymbol>is_numeric</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_regex" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')" class=ISymbol>is_regex</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_string" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')" class=ISymbol>is_string</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_typeof" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')" class=ISymbol>is_typeof</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/existence-js.html#is_undefined" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')" class=ISymbol>is_undefined</a></td></tr><tr><td class=IHeading><a name="M"></a>M</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/extend-js.html#method" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')" class=ISymbol>method</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#module.js" class=ISymbol>module.js</a></td></tr><tr><td class=IHeading><a name="N"></a>N</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.name" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')" class=ISymbol>name</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/nin-js.html#nin.js" class=ISymbol>nin.js</a></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/application-js.html#NinjsApplication" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')" class=ISymbol>NinjsApplication</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')" class=ISymbol>NinjsModule</a></td></tr><tr><td class=IHeading><a name="R"></a>R</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.run" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')" class=ISymbol>run</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.run_tests" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')" class=ISymbol>run_tests</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.run_tests(beta)" id=link24 onMouseOver="ShowTip(event, 'tt24', 'link24')" onMouseOut="HideTip('tt24')" class=ISymbol>run_tests(beta)</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="S"></a>S</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.set_data" id=link25 onMouseOver="ShowTip(event, 'tt25', 'link25')" onMouseOut="HideTip('tt25')" class=ISymbol>set_data</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="T"></a>T</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.tests(beta)" id=link26 onMouseOver="ShowTip(event, 'tt26', 'link26')" onMouseOut="HideTip('tt26')" class=ISymbol>tests(beta)</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="V"></a>V</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix> </td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.Variables" class=ISymbol>Variables</a>, <span class=IParent>NinjsModule</span></td></tr></table>
|
15
|
+
<!--START_ND_TOOLTIPS-->
|
16
|
+
<div class=CToolTip id="tt1"><div class=CFunction>The actions method contains code to be executed when run is called. </div></div><div class=CToolTip id="tt2"><div class=CFunction>Adds a NinjsModule to the application.</div></div><div class=CToolTip id="tt3"><div class=CFunction>Adds a test file to the tests array (beta).</div></div><!--END_ND_TOOLTIPS-->
|
17
|
+
|
18
|
+
|
19
|
+
<!--START_ND_TOOLTIPS-->
|
20
|
+
<div class=CToolTip id="tt4"><div class=CFunction>Waits for the DOM to be ready and then executes a callback.</div></div><!--END_ND_TOOLTIPS-->
|
21
|
+
|
22
|
+
|
23
|
+
<!--START_ND_TOOLTIPS-->
|
24
|
+
<div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.data</td></tr></table></blockquote>The module’s data object</div></div><!--END_ND_TOOLTIPS-->
|
25
|
+
|
26
|
+
|
27
|
+
<!--START_ND_TOOLTIPS-->
|
28
|
+
<div class=CToolTip id="tt6"><div class=CFunction>Method to define module elements.</div></div><div class=CToolTip id="tt7"><div class=CFunction>Wrapper method that set’s up the environment and then calls actions.</div></div><!--END_ND_TOOLTIPS-->
|
29
|
+
|
30
|
+
|
31
|
+
<!--START_ND_TOOLTIPS-->
|
32
|
+
<!--END_ND_TOOLTIPS-->
|
33
|
+
|
34
|
+
|
35
|
+
<!--START_ND_TOOLTIPS-->
|
36
|
+
<div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_array = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect is an Array. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_bool = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Boolean. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_date = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Date. </div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_defined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is undefined.</div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_number = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a Number. </div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_numeric = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine if the suspect string represents a numeric value.</div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_regex = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if the suspect is a RegExp. </div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_string = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine the suspect is a String. </div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_typeof = function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Determine an object’s type strictly by comparing constructors.</div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var is_undefined = function(</td><td class="PParameter prettyprint " nowrap>suspect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if a variable is defined.</div></div><!--END_ND_TOOLTIPS-->
|
37
|
+
|
38
|
+
|
39
|
+
<!--START_ND_TOOLTIPS-->
|
40
|
+
<div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>Function.prototype.method = function(</td><td class="PParameter prettyprint " nowrap>name,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>func</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Method to add a method to an object (ie. </div></div><!--END_ND_TOOLTIPS-->
|
41
|
+
|
42
|
+
|
43
|
+
<!--START_ND_TOOLTIPS-->
|
44
|
+
<div class=CToolTip id="tt19"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.name</td></tr></table></blockquote>The module’s name (string)</div></div><div class=CToolTip id="tt20"><div class=CClass>An NinjsApplication object serves as your application’s namespace and includes a utility to add modules to the application object.</div></div><div class=CToolTip id="tt21"><div class=CClass>A NinjsModule is an object which encapsulates a certain behavior or functionality.</div></div><!--END_ND_TOOLTIPS-->
|
45
|
+
|
46
|
+
|
47
|
+
<!--START_ND_TOOLTIPS-->
|
48
|
+
<div class=CToolTip id="tt22"><div class=CFunction>Waits for the DOM to load then calls execute.</div></div><div class=CToolTip id="tt23"><div class=CFunction>Runs the test files in the test array. </div></div><div class=CToolTip id="tt24"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.run_tests</td></tr></table></blockquote>Boolean to turn tests on/off</div></div><!--END_ND_TOOLTIPS-->
|
49
|
+
|
50
|
+
|
51
|
+
<!--START_ND_TOOLTIPS-->
|
52
|
+
<div class=CToolTip id="tt25"><div class=CFunction>Adds properties to the module’s data object.</div></div><!--END_ND_TOOLTIPS-->
|
53
|
+
|
54
|
+
|
55
|
+
<!--START_ND_TOOLTIPS-->
|
56
|
+
<div class=CToolTip id="tt26"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">this.tests</td></tr></table></blockquote>Array of test files to run</div></div><!--END_ND_TOOLTIPS-->
|
57
|
+
|
58
|
+
|
59
|
+
<!--START_ND_TOOLTIPS-->
|
60
|
+
<!--END_ND_TOOLTIPS-->
|
61
|
+
|
62
|
+
</div><!--Index-->
|
63
|
+
|
64
|
+
|
65
|
+
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
66
|
+
|
67
|
+
|
68
|
+
<div id=Menu><div class=MEntry><div class=MFile><a href="../files/core/application-js.html">application.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/existence-js.html">existence.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/extend-js.html">extend.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/module-js.html">module.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/nin-js.html">nin.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex id=MSelected>Everything</div></div><div class=MEntry><div class=MIndex><a href="Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
69
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
70
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
71
|
+
|
72
|
+
|
73
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
74
|
+
|
75
|
+
|
76
|
+
<script language=JavaScript><!--
|
77
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|