ninjs 0.13.6 → 0.13.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (275) hide show
  1. data/VERSION +1 -1
  2. data/ninjs.gemspec +5 -290
  3. metadata +52 -345
  4. data/.bundle/config +0 -2
  5. data/CNAME +0 -1
  6. data/Gemfile +0 -16
  7. data/Gemfile.lock +0 -36
  8. data/LICENSE +0 -29
  9. data/README.md +0 -348
  10. data/bin/ninjs +0 -218
  11. data/lib/ninjs.rb +0 -10
  12. data/lib/ninjs/command.rb +0 -91
  13. data/lib/ninjs/configuration.rb +0 -72
  14. data/lib/ninjs/dependencies.rb +0 -16
  15. data/lib/ninjs/generator.rb +0 -57
  16. data/lib/ninjs/helpers.rb +0 -17
  17. data/lib/ninjs/manifest.rb +0 -9
  18. data/lib/ninjs/notification.rb +0 -37
  19. data/lib/ninjs/project.rb +0 -233
  20. data/repository/jquery/1.1.4.js +0 -2508
  21. data/repository/jquery/1.2.6.js +0 -32
  22. data/repository/jquery/1.3.2.js +0 -19
  23. data/repository/jquery/1.4.2.js +0 -154
  24. data/repository/jquery/1.4.3.js +0 -166
  25. data/repository/jquery/1.4.4.js +0 -167
  26. data/repository/jquery/1.5.js +0 -16
  27. data/repository/jquery/fancybox/1.3.1.js +0 -1079
  28. data/repository/jquery/fancybox/assets/1.3.1/css/fancybox.css +0 -363
  29. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/blank.gif +0 -0
  30. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_close.png +0 -0
  31. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_loading.png +0 -0
  32. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_nav_left.png +0 -0
  33. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_nav_right.png +0 -0
  34. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_e.png +0 -0
  35. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_n.png +0 -0
  36. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_ne.png +0 -0
  37. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_nw.png +0 -0
  38. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_s.png +0 -0
  39. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_se.png +0 -0
  40. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_sw.png +0 -0
  41. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_w.png +0 -0
  42. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_left.png +0 -0
  43. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_main.png +0 -0
  44. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_over.png +0 -0
  45. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_right.png +0 -0
  46. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox-x.png +0 -0
  47. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox-y.png +0 -0
  48. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox.png +0 -0
  49. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/jquery.easing-1.3.pack.js +0 -72
  50. data/repository/jquery/fancybox/latest.js +0 -1
  51. data/repository/jquery/latest.js +0 -1
  52. data/repository/jquery/mobile/1.0a3.js +0 -123
  53. data/repository/jquery/mobile/1.0a3/assets/css/jquery.mobile.css +0 -1652
  54. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/ajax-loader.png +0 -0
  55. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-check-off.png +0 -0
  56. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-check-on.png +0 -0
  57. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-radio-off.png +0 -0
  58. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-radio-on.png +0 -0
  59. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icon-search-black.png +0 -0
  60. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-18-black.png +0 -0
  61. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-18-white.png +0 -0
  62. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-36-black.png +0 -0
  63. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-36-white.png +0 -0
  64. data/repository/jquery/mobile/latest.js +0 -1
  65. data/repository/jquery/mousewheel/3.0.2.js +0 -11
  66. data/repository/jquery/mousewheel/latest.js +0 -1
  67. data/repository/jquery/ui/1.8.7.js +0 -783
  68. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.accordion.css +0 -19
  69. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.all.css +0 -11
  70. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.autocomplete.css +0 -53
  71. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.base.css +0 -11
  72. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.button.css +0 -38
  73. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.core.css +0 -41
  74. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.datepicker.css +0 -68
  75. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.dialog.css +0 -21
  76. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.progressbar.css +0 -11
  77. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.resizable.css +0 -20
  78. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.selectable.css +0 -10
  79. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.slider.css +0 -24
  80. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.tabs.css +0 -18
  81. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.theme.css +0 -252
  82. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  83. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  84. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  85. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  86. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_dadada_1x400.png +0 -0
  87. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  88. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  89. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  90. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_222222_256x240.png +0 -0
  91. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_2e83ff_256x240.png +0 -0
  92. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_454545_256x240.png +0 -0
  93. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_888888_256x240.png +0 -0
  94. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_cd0a0a_256x240.png +0 -0
  95. data/repository/jquery/ui/latest.js +0 -1
  96. data/repository/json2.js +0 -482
  97. data/repository/modernizr/1.5.js +0 -28
  98. data/repository/modernizr/latest.js +0 -1
  99. data/repository/ninjs/core/.core.pdoc.yaml +0 -0
  100. data/repository/ninjs/core/.existence.pdoc.yaml +0 -12
  101. data/repository/ninjs/core/.extend.pdoc.yaml +0 -0
  102. data/repository/ninjs/core/.nin.pdoc.yaml +0 -0
  103. data/repository/ninjs/core/application.js +0 -47
  104. data/repository/ninjs/core/existence.js +0 -277
  105. data/repository/ninjs/core/extend.js +0 -77
  106. data/repository/ninjs/core/module.js +0 -135
  107. data/repository/ninjs/core/nin.js +0 -4
  108. data/repository/ninjs/docs/Data/ClassHierarchy.nd +0 -0
  109. data/repository/ninjs/docs/Data/ConfigFileInfo.nd +0 -0
  110. data/repository/ninjs/docs/Data/FileInfo.nd +0 -16
  111. data/repository/ninjs/docs/Data/ImageFileInfo.nd +0 -0
  112. data/repository/ninjs/docs/Data/ImageReferenceTable.nd +0 -0
  113. data/repository/ninjs/docs/Data/IndexInfo.nd +0 -0
  114. data/repository/ninjs/docs/Data/PreviousMenuState.nd +0 -0
  115. data/repository/ninjs/docs/Data/PreviousSettings.nd +0 -0
  116. data/repository/ninjs/docs/Data/SymbolTable.nd +0 -0
  117. data/repository/ninjs/docs/Languages.txt +0 -113
  118. data/repository/ninjs/docs/Menu.txt +0 -63
  119. data/repository/ninjs/docs/Topics.txt +0 -81
  120. data/repository/ninjs/docs/files/core/application-js.html +0 -44
  121. data/repository/ninjs/docs/files/core/existence-js.html +0 -60
  122. data/repository/ninjs/docs/files/core/extend-js.html +0 -55
  123. data/repository/ninjs/docs/files/core/module-js.html +0 -80
  124. data/repository/ninjs/docs/files/core/nin-js.html +0 -38
  125. data/repository/ninjs/docs/index.html +0 -1
  126. data/repository/ninjs/docs/index/Classes.html +0 -33
  127. data/repository/ninjs/docs/index/Files.html +0 -45
  128. data/repository/ninjs/docs/index/Functions.html +0 -65
  129. data/repository/ninjs/docs/index/General.html +0 -85
  130. data/repository/ninjs/docs/index/Variables.html +0 -45
  131. data/repository/ninjs/docs/javascript/main.js +0 -841
  132. data/repository/ninjs/docs/javascript/prettify.js +0 -1526
  133. data/repository/ninjs/docs/javascript/searchdata.js +0 -152
  134. data/repository/ninjs/docs/search/ClassesN.html +0 -20
  135. data/repository/ninjs/docs/search/FilesA.html +0 -20
  136. data/repository/ninjs/docs/search/FilesE.html +0 -20
  137. data/repository/ninjs/docs/search/FilesM.html +0 -20
  138. data/repository/ninjs/docs/search/FilesN.html +0 -20
  139. data/repository/ninjs/docs/search/FunctionsA.html +0 -20
  140. data/repository/ninjs/docs/search/FunctionsC.html +0 -20
  141. data/repository/ninjs/docs/search/FunctionsE.html +0 -20
  142. data/repository/ninjs/docs/search/FunctionsI.html +0 -20
  143. data/repository/ninjs/docs/search/FunctionsM.html +0 -20
  144. data/repository/ninjs/docs/search/FunctionsR.html +0 -20
  145. data/repository/ninjs/docs/search/FunctionsS.html +0 -20
  146. data/repository/ninjs/docs/search/FunctionsSymbols.html +0 -20
  147. data/repository/ninjs/docs/search/FunctionsU.html +0 -20
  148. data/repository/ninjs/docs/search/GeneralA.html +0 -20
  149. data/repository/ninjs/docs/search/GeneralC.html +0 -20
  150. data/repository/ninjs/docs/search/GeneralD.html +0 -20
  151. data/repository/ninjs/docs/search/GeneralE.html +0 -20
  152. data/repository/ninjs/docs/search/GeneralF.html +0 -20
  153. data/repository/ninjs/docs/search/GeneralI.html +0 -20
  154. data/repository/ninjs/docs/search/GeneralM.html +0 -20
  155. data/repository/ninjs/docs/search/GeneralN.html +0 -20
  156. data/repository/ninjs/docs/search/GeneralR.html +0 -20
  157. data/repository/ninjs/docs/search/GeneralS.html +0 -20
  158. data/repository/ninjs/docs/search/GeneralSymbols.html +0 -20
  159. data/repository/ninjs/docs/search/GeneralT.html +0 -20
  160. data/repository/ninjs/docs/search/GeneralU.html +0 -20
  161. data/repository/ninjs/docs/search/GeneralV.html +0 -20
  162. data/repository/ninjs/docs/search/NoResults.html +0 -15
  163. data/repository/ninjs/docs/search/VariablesD.html +0 -20
  164. data/repository/ninjs/docs/search/VariablesN.html +0 -20
  165. data/repository/ninjs/docs/search/VariablesR.html +0 -20
  166. data/repository/ninjs/docs/search/VariablesT.html +0 -20
  167. data/repository/ninjs/docs/styles/main.css +0 -828
  168. data/repository/ninjs/extensions/jquery.elements.js +0 -60
  169. data/repository/ninjs/tests/index.html +0 -21
  170. data/repository/ninjs/tests/ninjs.test.js +0 -188
  171. data/repository/ninjs/tests/ninjs.utilities.test.js +0 -137
  172. data/repository/ninjs/tests/qunit/qunit.css +0 -197
  173. data/repository/ninjs/tests/qunit/qunit.js +0 -1415
  174. data/repository/ninjs/utilities/all.js +0 -5
  175. data/repository/ninjs/utilities/array.js +0 -29
  176. data/repository/ninjs/utilities/cookie.js +0 -0
  177. data/repository/ninjs/utilities/css.js +0 -51
  178. data/repository/ninjs/utilities/number.js +0 -11
  179. data/repository/ninjs/utilities/string.js +0 -61
  180. data/repository/nullconsole.js +0 -7
  181. data/repository/qunit/assets/css/qunit.css +0 -196
  182. data/repository/qunit/qunit.js +0 -1374
  183. data/repository/selectivizr/1.0.js +0 -5
  184. data/repository/selectivizr/latest.js +0 -1
  185. data/repository/syntaxhighlighter/all.js +0 -11
  186. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCore.css +0 -226
  187. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDefault.css +0 -328
  188. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDjango.css +0 -331
  189. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEclipse.css +0 -339
  190. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEmacs.css +0 -324
  191. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreFadeToGrey.css +0 -328
  192. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMDUltra.css +0 -324
  193. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMidnight.css +0 -324
  194. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreRDark.css +0 -324
  195. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDefault.css +0 -117
  196. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDjango.css +0 -120
  197. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEclipse.css +0 -128
  198. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEmacs.css +0 -113
  199. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeFadeToGrey.css +0 -117
  200. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMDUltra.css +0 -113
  201. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMidnight.css +0 -113
  202. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeRDark.css +0 -113
  203. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCore.scss +0 -216
  204. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDefault.scss +0 -2
  205. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDjango.scss +0 -2
  206. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEclipse.scss +0 -2
  207. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEmacs.scss +0 -2
  208. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreFadeToGrey.scss +0 -2
  209. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMDUltra.scss +0 -2
  210. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMidnight.scss +0 -2
  211. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreRDark.scss +0 -2
  212. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDefault.scss +0 -7
  213. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDjango.scss +0 -36
  214. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEclipse.scss +0 -48
  215. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEmacs.scss +0 -32
  216. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeFadeToGrey.scss +0 -36
  217. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMDUltra.scss +0 -32
  218. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMidnight.scss +0 -32
  219. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeRDark.scss +0 -32
  220. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_theme_template.scss +0 -120
  221. data/repository/syntaxhighlighter/shAutoloader.js +0 -17
  222. data/repository/syntaxhighlighter/shBrushAS3.js +0 -59
  223. data/repository/syntaxhighlighter/shBrushAppleScript.js +0 -75
  224. data/repository/syntaxhighlighter/shBrushBash.js +0 -59
  225. data/repository/syntaxhighlighter/shBrushCSharp.js +0 -65
  226. data/repository/syntaxhighlighter/shBrushColdFusion.js +0 -100
  227. data/repository/syntaxhighlighter/shBrushCpp.js +0 -97
  228. data/repository/syntaxhighlighter/shBrushCss.js +0 -91
  229. data/repository/syntaxhighlighter/shBrushDelphi.js +0 -55
  230. data/repository/syntaxhighlighter/shBrushDiff.js +0 -41
  231. data/repository/syntaxhighlighter/shBrushErlang.js +0 -52
  232. data/repository/syntaxhighlighter/shBrushGroovy.js +0 -67
  233. data/repository/syntaxhighlighter/shBrushJScript.js +0 -52
  234. data/repository/syntaxhighlighter/shBrushJava.js +0 -57
  235. data/repository/syntaxhighlighter/shBrushJavaFX.js +0 -58
  236. data/repository/syntaxhighlighter/shBrushPerl.js +0 -72
  237. data/repository/syntaxhighlighter/shBrushPhp.js +0 -88
  238. data/repository/syntaxhighlighter/shBrushPlain.js +0 -33
  239. data/repository/syntaxhighlighter/shBrushPowerShell.js +0 -74
  240. data/repository/syntaxhighlighter/shBrushPython.js +0 -64
  241. data/repository/syntaxhighlighter/shBrushRuby.js +0 -55
  242. data/repository/syntaxhighlighter/shBrushSass.js +0 -94
  243. data/repository/syntaxhighlighter/shBrushScala.js +0 -51
  244. data/repository/syntaxhighlighter/shBrushSql.js +0 -66
  245. data/repository/syntaxhighlighter/shBrushVb.js +0 -56
  246. data/repository/syntaxhighlighter/shBrushXml.js +0 -69
  247. data/repository/syntaxhighlighter/shCore.js +0 -17
  248. data/repository/syntaxhighlighter/shLegacy.js +0 -17
  249. data/spec/fixtures/global.js +0 -7
  250. data/spec/fixtures/global.module.js +0 -7
  251. data/spec/fixtures/myapplication.js +0 -576
  252. data/spec/fixtures/nin.js +0 -573
  253. data/spec/fixtures/ninjs.conf +0 -6
  254. data/spec/fixtures/test.elements.js +0 -4
  255. data/spec/fixtures/test.js +0 -15
  256. data/spec/fixtures/test.model.js +0 -3
  257. data/spec/fixtures/test.module.js +0 -10
  258. data/spec/fixtures/updated.myapplication.js +0 -27
  259. data/spec/fixtures/utilities.js +0 -162
  260. data/spec/helpers_spec.rb +0 -11
  261. data/spec/integration_spec.rb +0 -257
  262. data/spec/manifest_spec.rb +0 -8
  263. data/spec/ninjs_spec.rb +0 -36
  264. data/spec/notification_spec.rb +0 -27
  265. data/spec/spec_helper.rb +0 -5
  266. data/tmp/ff9e83aa019b712b90200b8d1b8fa0c7e14576af.json +0 -1
  267. data/tmp/metric_fu/_data/20110305.yml +0 -1548
  268. data/tmp/metric_fu/output/bluff-min.js +0 -1
  269. data/tmp/metric_fu/output/excanvas.js +0 -35
  270. data/tmp/metric_fu/output/js-class.js +0 -1
  271. data/tmp/metric_fu/output/lib_ninjs_dependencies.rb.html +0 -34
  272. data/tmp/metric_fu/output/lib_ninjs_helpers.rb.html +0 -34
  273. data/tmp/metric_fu/output/lib_ninjs_manifest.rb.html +0 -27
  274. data/tmp/metric_fu/output/rails_best_practices.js +0 -11
  275. data/tmp/metric_fu/scratch/rcov/rcov.txt +0 -1
@@ -1,60 +0,0 @@
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>Strict type checking 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.&nbsp; This is a convenience method to enhance clarity in your conditions.</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.&nbsp; This is a convenience method to enhance clarity in your conditions.</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>Strict type checking by comparing constructors.&nbsp; (Pro Javascript Techniques, John Resig, Apress p.24 Listing 2-8: Example of using the constructor property to determine the type of an object <a href="http://amzn.to/fTsDRg" class=LURL target=_top>http://amzn.to/fTsDRg</a>) Parameters: type - The type you expect (ie.&nbsp; String, Number, Array (note: without quotes): is_typeof(String, &lsquo;hello&rsquo;): // true) suspect - The suspect variable to check against type</p><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.&nbsp; (JavaScript: The Good Parts, Douglas Crockford, O&rsquo;Reilly p.69 Chapter 7: Regular Expressions An Example) Parameters: suspect - variable to check for numeric value</p><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.&nbsp; 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.&nbsp; 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.&nbsp; 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.&nbsp; 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.&nbsp; 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.&nbsp; 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>Strict type checking 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>
@@ -1,55 +0,0 @@
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><tr class="SFunction SIndent1"><td class=SEntry><a href="#unless" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">unless</a></td><td class=SDescription>Function to better express negative conditions (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.&nbsp; String.method(&lsquo;my_method&rsquo;, my_func); // &lsquo;hello&rsquo;.my_method())</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 (chainable)</p><blockquote><pre>String.method('custom_method', function() {
19
- // define custom_method
20
- });
21
-
22
- &quot;hello&quot;.custom_method();</pre></blockquote></div></div></div>
23
-
24
- <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="unless"></a>unless</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 unless = function(</td><td class="PParameter prettyprint " nowrap>expression,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>callback,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fallback</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Function to better express negative conditions (ie. if (!something))</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>expression</td><td class=CDLDescription>expression to be tested</td></tr><tr><td class=CDLEntry>callback</td><td class=CDLDescription>function to be executed unless expression is true (see how that works)</td></tr><tr><td class=CDLEntry>fallback</td><td class=CDLDescription>function to be executed if the expression is false (optional)</td></tr></table><h4 class=CHeading>Returns</h4><p>undefined</p><blockquote><pre>unless(test_expression === 'some condition',
25
- function() {
26
- alert('we do something');
27
- },
28
- function() {
29
- alert('we can do something if it meets the condition too');
30
- }
31
- );</pre></blockquote></div></div></div>
32
-
33
- </div><!--Content-->
34
-
35
-
36
- <div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
37
-
38
-
39
- <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"><!--
40
- var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
41
- --></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-->
42
-
43
-
44
-
45
- <!--START_ND_TOOLTIPS-->
46
- <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><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 unless = function(</td><td class="PParameter prettyprint " nowrap>expression,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>callback,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fallback</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Function to better express negative conditions (ie. </div></div><!--END_ND_TOOLTIPS-->
47
-
48
-
49
-
50
-
51
- <div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
52
-
53
-
54
- <script language=JavaScript><!--
55
- if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
@@ -1,80 +0,0 @@
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&rsquo;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&rsquo;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&rsquo;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&rsquo;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&rsquo;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&rsquo;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&rsquo;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&rsquo;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&rsquo;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&rsquo;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.&nbsp; 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&rsquo;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&rsquo;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&rsquo;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.&nbsp; 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&rsquo;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&rsquo;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&rsquo;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>
@@ -1,38 +0,0 @@
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>
@@ -1 +0,0 @@
1
- <html><head><meta http-equiv="Refresh" CONTENT="0; URL=files/core/application-js.html"></head></html>
@@ -1,33 +0,0 @@
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>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; D &middot; E &middot; F &middot; G &middot; H &middot; I &middot; J &middot; K &middot; L &middot; M &middot; <a href="#N">N</a> &middot; O &middot; P &middot; Q &middot; R &middot; S &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; 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>&nbsp;</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>&nbsp;</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&rsquo;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>
@@ -1,45 +0,0 @@
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>$#! &middot; 0-9 &middot; <a href="#A">A</a> &middot; B &middot; C &middot; D &middot; <a href="#E">E</a> &middot; F &middot; G &middot; H &middot; I &middot; J &middot; K &middot; L &middot; <a href="#M">M</a> &middot; <a href="#N">N</a> &middot; O &middot; P &middot; Q &middot; R &middot; S &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; 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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>
@@ -1,65 +0,0 @@
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><a href="#Symbols">$#!</a> &middot; 0-9 &middot; <a href="#A">A</a> &middot; B &middot; <a href="#C">C</a> &middot; D &middot; <a href="#E">E</a> &middot; F &middot; G &middot; H &middot; <a href="#I">I</a> &middot; J &middot; K &middot; L &middot; <a href="#M">M</a> &middot; N &middot; O &middot; P &middot; Q &middot; <a href="#R">R</a> &middot; <a href="#S">S</a> &middot; T &middot; <a href="#U">U</a> &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="Symbols"></a>$#!</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule._run_tests" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>_run_tests</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="A"></a>A</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.actions" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>actions</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/application-js.html#NinjsApplication.add_module" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=ISymbol>add_module</a>, <span class=IParent>NinjsApplication</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.add_test" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" 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>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.call_on_ready" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" 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>&nbsp;</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 id=ILastSymbolPrefix>&nbsp;</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=IHeading><a name="I"></a>I</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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=IOnlySymbolPrefix>&nbsp;</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=IHeading><a name="R"></a>R</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.run" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')" class=ISymbol>run</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>&nbsp;</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><tr><td class=IHeading><a name="U"></a>U</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/extend-js.html#unless" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')" class=ISymbol>unless</a></td></tr></table>
15
- <!--START_ND_TOOLTIPS-->
16
- <div class=CToolTip id="tt1"><div class=CFunction>Runs the test files in the test array. </div></div><!--END_ND_TOOLTIPS-->
17
-
18
-
19
- <!--START_ND_TOOLTIPS-->
20
- <div class=CToolTip id="tt2"><div class=CFunction>The actions method contains code to be executed when run is called. </div></div><div class=CToolTip id="tt3"><div class=CFunction>Adds a NinjsModule to the application.</div></div><div class=CToolTip id="tt4"><div class=CFunction>Adds a test file to the tests array (beta).</div></div><!--END_ND_TOOLTIPS-->
21
-
22
-
23
- <!--START_ND_TOOLTIPS-->
24
- <div class=CToolTip id="tt5"><div class=CFunction>Waits for the DOM to be ready and then executes a callback.</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&rsquo;s up the environment and then calls actions.</div></div><!--END_ND_TOOLTIPS-->
29
-
30
-
31
- <!--START_ND_TOOLTIPS-->
32
- <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>Strict type checking 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-->
33
-
34
-
35
- <!--START_ND_TOOLTIPS-->
36
- <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-->
37
-
38
-
39
- <!--START_ND_TOOLTIPS-->
40
- <div class=CToolTip id="tt19"><div class=CFunction>Waits for the DOM to load then calls execute.</div></div><!--END_ND_TOOLTIPS-->
41
-
42
-
43
- <!--START_ND_TOOLTIPS-->
44
- <div class=CToolTip id="tt20"><div class=CFunction>Adds properties to the module&rsquo;s data object.</div></div><!--END_ND_TOOLTIPS-->
45
-
46
-
47
- <!--START_ND_TOOLTIPS-->
48
- <div class=CToolTip id="tt21"><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 unless = function(</td><td class="PParameter prettyprint " nowrap>expression,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>callback,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fallback</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Function to better express negative conditions (ie. </div></div><!--END_ND_TOOLTIPS-->
49
-
50
- </div><!--Index-->
51
-
52
-
53
- <div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
54
-
55
-
56
- <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"><!--
57
- var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
58
- --></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-->
59
-
60
-
61
- <div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
62
-
63
-
64
- <script language=JavaScript><!--
65
- if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
@@ -1,85 +0,0 @@
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><a href="#Symbols">$#!</a> &middot; 0-9 &middot; <a href="#A">A</a> &middot; B &middot; <a href="#C">C</a> &middot; <a href="#D">D</a> &middot; <a href="#E">E</a> &middot; <a href="#F">F</a> &middot; G &middot; H &middot; <a href="#I">I</a> &middot; J &middot; K &middot; L &middot; <a href="#M">M</a> &middot; <a href="#N">N</a> &middot; O &middot; P &middot; Q &middot; <a href="#R">R</a> &middot; <a href="#S">S</a> &middot; <a href="#T">T</a> &middot; <a href="#U">U</a> &middot; <a href="#V">V</a> &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="Symbols"></a>$#!</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule._run_tests" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>_run_tests</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=IHeading><a name="A"></a>A</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.actions" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>actions</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/application-js.html#NinjsApplication.add_module" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=ISymbol>add_module</a>, <span class=IParent>NinjsApplication</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.add_test" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=ISymbol>add_test</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</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>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.call_on_ready" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" 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>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.data" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" 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>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.elements" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>elements</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.execute" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>execute</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_array" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=ISymbol>is_array</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_bool" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=ISymbol>is_bool</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_date" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=ISymbol>is_date</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_defined" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')" class=ISymbol>is_defined</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_number" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')" class=ISymbol>is_number</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_numeric" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')" class=ISymbol>is_numeric</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_regex" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')" class=ISymbol>is_regex</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_string" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')" class=ISymbol>is_string</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_typeof" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')" class=ISymbol>is_typeof</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/existence-js.html#is_undefined" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')" 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>&nbsp;</td><td class=IEntry><a href="../files/core/extend-js.html#method" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')" class=ISymbol>method</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</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>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.name" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')" class=ISymbol>name</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/nin-js.html#nin.js" class=ISymbol>nin.js</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/application-js.html#NinjsApplication" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')" class=ISymbol>NinjsApplication</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')" 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>&nbsp;</td><td class=IEntry><a href="../files/core/module-js.html#NinjsModule.run" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')" class=ISymbol>run</a>, <span class=IParent>NinjsModule</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</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>&nbsp;</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>&nbsp;</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="U"></a>U</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/extend-js.html#unless" id=link27 onMouseOver="ShowTip(event, 'tt27', 'link27')" onMouseOut="HideTip('tt27')" class=ISymbol>unless</a></td></tr><tr><td class=IHeading><a name="V"></a>V</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</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>Runs the test files in the test array. </div></div><!--END_ND_TOOLTIPS-->
17
-
18
-
19
- <!--START_ND_TOOLTIPS-->
20
- <div class=CToolTip id="tt2"><div class=CFunction>The actions method contains code to be executed when run is called. </div></div><div class=CToolTip id="tt3"><div class=CFunction>Adds a NinjsModule to the application.</div></div><div class=CToolTip id="tt4"><div class=CFunction>Adds a test file to the tests array (beta).</div></div><!--END_ND_TOOLTIPS-->
21
-
22
-
23
- <!--START_ND_TOOLTIPS-->
24
- <div class=CToolTip id="tt5"><div class=CFunction>Waits for the DOM to be ready and then executes a callback.</div></div><!--END_ND_TOOLTIPS-->
25
-
26
-
27
- <!--START_ND_TOOLTIPS-->
28
- <div class=CToolTip id="tt6"><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&rsquo;s data object</div></div><!--END_ND_TOOLTIPS-->
29
-
30
-
31
- <!--START_ND_TOOLTIPS-->
32
- <div class=CToolTip id="tt7"><div class=CFunction>Method to define module elements.</div></div><div class=CToolTip id="tt8"><div class=CFunction>Wrapper method that set&rsquo;s up the environment and then calls actions.</div></div><!--END_ND_TOOLTIPS-->
33
-
34
-
35
- <!--START_ND_TOOLTIPS-->
36
- <!--END_ND_TOOLTIPS-->
37
-
38
-
39
- <!--START_ND_TOOLTIPS-->
40
- <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_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="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_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="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_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="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_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="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_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="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_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="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_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="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_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="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_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>Strict type checking by comparing constructors. </div></div><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>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-->
41
-
42
-
43
- <!--START_ND_TOOLTIPS-->
44
- <div class=CToolTip id="tt19"><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-->
45
-
46
-
47
- <!--START_ND_TOOLTIPS-->
48
- <div class=CToolTip id="tt20"><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&rsquo;s name (string)</div></div><div class=CToolTip id="tt21"><div class=CClass>An NinjsApplication object serves as your application&rsquo;s namespace and includes a utility to add modules to the application object.</div></div><div class=CToolTip id="tt22"><div class=CClass>A NinjsModule is an object which encapsulates a certain behavior or functionality.</div></div><!--END_ND_TOOLTIPS-->
49
-
50
-
51
- <!--START_ND_TOOLTIPS-->
52
- <div class=CToolTip id="tt23"><div class=CFunction>Waits for the DOM to load then calls execute.</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-->
53
-
54
-
55
- <!--START_ND_TOOLTIPS-->
56
- <div class=CToolTip id="tt25"><div class=CFunction>Adds properties to the module&rsquo;s data object.</div></div><!--END_ND_TOOLTIPS-->
57
-
58
-
59
- <!--START_ND_TOOLTIPS-->
60
- <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-->
61
-
62
-
63
- <!--START_ND_TOOLTIPS-->
64
- <div class=CToolTip id="tt27"><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 unless = function(</td><td class="PParameter prettyprint " nowrap>expression,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>callback,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fallback</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Function to better express negative conditions (ie. </div></div><!--END_ND_TOOLTIPS-->
65
-
66
-
67
- <!--START_ND_TOOLTIPS-->
68
- <!--END_ND_TOOLTIPS-->
69
-
70
- </div><!--Index-->
71
-
72
-
73
- <div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
74
-
75
-
76
- <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"><!--
77
- var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
78
- --></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-->
79
-
80
-
81
- <div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
82
-
83
-
84
- <script language=JavaScript><!--
85
- if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>