UNPKG

application-prototype

Version:
639 lines (567 loc) 61.4 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>dictionary.d.js - Application Prototype - Framework</title> <meta name="description" content="Application Prototype Framework based on Module Pattern" /> <meta name="keywords" content="javascript, js, application-prototype, prototype" /> <meta name="keyword" content="javascript, js, application-prototype, prototype" /> <meta property="og:title" content="Application Prototype - Framework"/> <meta property="og:type" content="website"/> <meta property="og:image" content=""/> <meta property="og:url" content="https://labs.sgapps.io/open-source/application-prototype"/> <script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/lang-css.js"></script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> <script src="scripts/nav.js" defer></script> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <input type="checkbox" id="nav-trigger" class="nav-trigger" /> <label for="nav-trigger" class="navicon-button x"> <div class="navicon"></div> </label> <label for="nav-trigger" class="overlay"></label> <nav class="wrap"> <input type="text" id="nav-search" placeholder="Search" /> <h2><a href="index.html">Home</a></h2><h2><a href="https://labs.sgapps.io/open-source/application-prototype" target="_blank" class="menu-item" id="website_link" >Project Page ( Git Lab )</a></h2><h2><a href="http://gordienco.net/" target="_blank" class="menu-item" id="website_link" >About Me</a></h2><h2><a href="https://github.com/sergiu-gordienco/application-prototype" target="_blank" class="menu-item" id="github_link" >GitHub</a></h2><h3>Modules</h3><ul><li><a href="module-uriLoad.html">uriLoad</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-uriLoad.html#.link">link</a></li><li data-type='method' style='display: none;'><a href="module-uriLoad.html#.script">script</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="ApplicationPrototype.Builder.html">Builder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#bind">bind</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#consoleOptions">consoleOptions</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#crudEvents">crudEvents</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#debugEnabled">debugEnabled</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#emit">emit</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#isBrowser">isBrowser</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#isNode">isNode</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#modulePath">modulePath</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#moduleRegister">moduleRegister</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#off">off</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#on">on</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#once">once</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#property">property</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#require">require</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.html#runModulesInFiles">runModulesInFiles</a></li></ul></li><li class="level-hide"><a href="ApplicationPrototype.Builder.Promise.html">Promise</a><ul class='methods'><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.Promise.html#.all">all</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.Promise.html#.race">race</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.Promise.html#.reject">reject</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Builder.Promise.html#.resolve">resolve</a></li></ul></li><li><a href="ApplicationPrototype.Instance.html">Instance</a><ul class='methods'><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#bind">bind</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#crudEvents">crudEvents</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#emit">emit</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#off">off</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#on">on</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#once">once</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#property">property</a></li><li data-type='method' style='display: none;'><a href="ApplicationPrototype.Instance.html#property">property</a></li></ul></li><li><a href="async.Async.html">Async</a><ul class='methods'><li data-type='method' style='display: none;'><a href="async.Async.html#done">done</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#errors">errors</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#flush">flush</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#index">index</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#processing">processing</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#receive">receive</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#reserve">reserve</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#responses">responses</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#run">run</a></li><li data-type='method' style='display: none;'><a href="async.Async.html#wait">wait</a></li></ul></li><li><a href="ExtensionsPrototype.slDOMSet.html">slDOMSet</a><ul class='methods'><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#add">add</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#attr">attr</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#attr">attr</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#attr">attr</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#attr">attr</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#config">config</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#config">config</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#each">each</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#env">env</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#eq">eq</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#filter">filter</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#find">find</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#get">get</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#get">get</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#map">map</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#set">set</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#set">set</a></li><li data-type='method' style='display: none;'><a href="ExtensionsPrototype.slDOMSet.html#unique">unique</a></li></ul></li><li><a href="JSTemplateComponent.html">JSTemplateComponent</a></li><li><a href="RequestModule.html">RequestModule</a><ul class='members'><li data-type='member' style='display: none;'><a href="RequestModule.html#.READY_STATE_DONE">READY_STATE_DONE</a></li><li data-type='member' style='display: none;'><a href="RequestModule.html#.READY_STATE_HEADERS_RECEIVED">READY_STATE_HEADERS_RECEIVED</a></li><li data-type='member' style='display: none;'><a href="RequestModule.html#.READY_STATE_LOADING">READY_STATE_LOADING</a></li><li data-type='member' style='display: none;'><a href="RequestModule.html#.READY_STATE_OPENED">READY_STATE_OPENED</a></li><li data-type='member' style='display: none;'><a href="RequestModule.html#.READY_STATE_UNSENT">READY_STATE_UNSENT</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="RequestModule.html#.ParamsParser">ParamsParser</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#async">async</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#async">async</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#basicAuth">basicAuth</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#basicAuth">basicAuth</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#config">config</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#configurator">configurator</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#headers">headers</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#headers">headers</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#method">method</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#method">method</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#open">open</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#readyState">readyState</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#request">request</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#response">response</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#send">send</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#status">status</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#statusText">statusText</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#timeout">timeout</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#timeout">timeout</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#url">url</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#url">url</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#withCredentials">withCredentials</a></li><li data-type='method' style='display: none;'><a href="RequestModule.html#withCredentials">withCredentials</a></li></ul></li></ul><h3>Events</h3><ul><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__afterGet">__afterGet</a></li><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__afterGet::propName">__afterGet::propName</a></li><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__afterSet">__afterSet</a></li><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__afterSet::propName">__afterSet::propName</a></li><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__onGet">__onGet</a></li><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__onGet::propName">__onGet::propName</a></li><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__onSet">__onSet</a></li><li class="level-hide"><a href="ApplicationPrototype.Instance.html#.event:__onSet::propName">__onSet::propName</a></li></ul><h3>Interfaces</h3><ul><li><a href="ApplicationPrototype.html">ApplicationPrototype</a></li><li><a href="Array.html">Array</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Array.html#__pointerFilter">__pointerFilter</a></li><li data-type='method' style='display: none;'><a href="Array.html#base64encode">base64encode</a></li><li data-type='method' style='display: none;'><a href="Array.html#bytesToHex">bytesToHex</a></li><li data-type='method' style='display: none;'><a href="Array.html#inArray">inArray</a></li><li data-type='method' style='display: none;'><a href="Array.html#indexOfSect">indexOfSect</a></li><li data-type='method' style='display: none;'><a href="Array.html#max">max</a></li><li data-type='method' style='display: none;'><a href="Array.html#min">min</a></li><li data-type='method' style='display: none;'><a href="Array.html#move">move</a></li><li data-type='method' style='display: none;'><a href="Array.html#resetArray">resetArray</a></li><li data-type='method' style='display: none;'><a href="Array.html#shuffle">shuffle</a></li><li data-type='method' style='display: none;'><a href="Array.html#split">split</a></li><li data-type='method' style='display: none;'><a href="Array.html#splitSect">splitSect</a></li><li data-type='method' style='display: none;'><a href="Array.html#toBinaryString">toBinaryString</a></li><li data-type='method' style='display: none;'><a href="Array.html#toBlob">toBlob</a></li><li data-type='method' style='display: none;'><a href="Array.html#toBytesBinary">toBytesBinary</a></li><li data-type='method' style='display: none;'><a href="Array.html#toBytesEscaped">toBytesEscaped</a></li><li data-type='method' style='display: none;'><a href="Array.html#toParamObj">toParamObj</a></li><li data-type='method' style='display: none;'><a href="Array.html#toStringUtf8">toStringUtf8</a></li><li data-type='method' style='display: none;'><a href="Array.html#unique">unique</a></li></ul></li><li><a href="ArrayBuffer.html">ArrayBuffer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="ArrayBuffer.html#base64encode">base64encode</a></li><li data-type='method' style='display: none;'><a href="ArrayBuffer.html#toArray">toArray</a></li><li data-type='method' style='display: none;'><a href="ArrayBuffer.html#toBytes">toBytes</a></li><li data-type='method' style='display: none;'><a href="ArrayBuffer.html#toStringUtf8">toStringUtf8</a></li></ul></li><li><a href="async.html">async</a><ul class='methods'><li data-type='method' style='display: none;'><a href="async.html#.flow">flow</a></li><li data-type='method' style='display: none;'><a href="async.html#.flow_map">flow_map</a></li><li data-type='method' style='display: none;'><a href="async.html#.map">map</a></li><li data-type='method' style='display: none;'><a href="async.html#.waterfall">waterfall</a></li><li data-type='method' style='display: none;'><a href="async.html#.waterfall_map">waterfall_map</a></li></ul></li><li><a href="Blob.html">Blob</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Blob.html#toArrayBuffer">toArrayBuffer</a></li><li data-type='method' style='display: none;'><a href="Blob.html#toURL">toURL</a></li></ul></li><li><a href="BrowserSessionModule.html">BrowserSessionModule</a><ul class='methods'><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.clear">clear</a></li><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.findItems">findItems</a></li><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.getItem">getItem</a></li><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.getItems">getItems</a></li><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.removeItem">removeItem</a></li><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.removeItems">removeItems</a></li><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.setItem">setItem</a></li><li data-type='method' style='display: none;'><a href="BrowserSessionModule.html#.setItems">setItems</a></li></ul></li><li><a href="Buffer.html">Buffer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Buffer.html#base64encode">base64encode</a></li><li data-type='method' style='display: none;'><a href="Buffer.html#toArray">toArray</a></li><li data-type='method' style='display: none;'><a href="Buffer.html#toBytes">toBytes</a></li><li data-type='method' style='display: none;'><a href="Buffer.html#toStringUtf8">toStringUtf8</a></li></ul></li><li><a href="ExtensionsPrototype.html">ExtensionsPrototype</a><ul class='members'><li data-type='member' style='display: none;'><a href="ExtensionsPrototype.html#._">_</a></li><li data-type='member' style='display: none;'><a href="ExtensionsPrototype.html#.__">__</a></li><li data-type='member' style='display: none;'><a href="ExtensionsPrototype.html#.fn">fn</a></li><li data-type='member' style='display: none;'><a href="ExtensionsPrototype.html#.object">object</a></li><li data-type='member' style='display: none;'><a href="ExtensionsPrototype.html#.string">string</a></li><li data-type='member' style='display: none;'><a href="ExtensionsPrototype.html#.WindowExtend">WindowExtend</a></li></ul></li><li><a href="Function.html">Function</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Function.html#runInWorker">runInWorker</a></li><li data-type='method' style='display: none;'><a href="Function.html#toWorker">toWorker</a></li><li data-type='method' style='display: none;'><a href="Function.html#toWorkerURL">toWorkerURL</a></li></ul></li><li><a href="HTMLElement.html">HTMLElement</a></li><li><a href="JSTemplate.html">JSTemplate</a><ul class='methods'><li data-type='method' style='display: none;'><a href="JSTemplate.html#.attrParser">attrParser</a></li><li data-type='method' style='display: none;'><a href="JSTemplate.html#.expressionBuilder">expressionBuilder</a></li><li data-type='method' style='display: none;'><a href="JSTemplate.html#.nodeParser">nodeParser</a></li><li data-type='method' style='display: none;'><a href="JSTemplate.html#.parseTextNodes">parseTextNodes</a></li><li data-type='method' style='display: none;'><a href="JSTemplate.html#.textParser">textParser</a></li></ul></li><li><a href="JSTemplateComponent.contextInstance.html">contextInstance</a><ul class='members'><li data-type='member' style='display: none;'><a href="JSTemplateComponent.contextInstance.html#.node">node</a></li><li data-type='member' style='display: none;'><a href="JSTemplateComponent.contextInstance.html#.references">references</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="JSTemplateComponent.contextInstance.html#.redraw">redraw</a></li><li data-type='method' style='display: none;'><a href="JSTemplateComponent.contextInstance.html#.redrawForce">redrawForce</a></li></ul></li><li><a href="JSTemplateComponent.contextWithInstance.html">contextWithInstance</a><ul class='members'><li data-type='member' style='display: none;'><a href="JSTemplateComponent.contextWithInstance.html#.__instance">__instance</a></li><li data-type='member' style='display: none;'><a href="JSTemplateComponent.contextWithInstance.html#.__lifeCycle">__lifeCycle</a></li><li data-type='member' style='display: none;'><a href="JSTemplateComponent.contextWithInstance.html#.state">state</a></li></ul></li><li><a href="JSTemplateComponent.contextWithoutInstance.html">contextWithoutInstance</a><ul class='members'><li data-type='member' style='display: none;'><a href="JSTemplateComponent.contextWithoutInstance.html#.__lifeCycle">__lifeCycle</a></li><li data-type='member' style='display: none;'><a href="JSTemplateComponent.contextWithoutInstance.html#.state">state</a></li></ul></li><li><a href="String.html">String</a><ul class='methods'><li data-type='method' style='display: none;'><a href="String.html#add_Class">add_Class</a></li><li data-type='method' style='display: none;'><a href="String.html#add_Class">add_Class</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decode">base64decode</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decode">base64decode</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decodeBytes">base64decodeBytes</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decodeBytes">base64decodeBytes</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decodeBytesArray">base64decodeBytesArray</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decodeBytesArray">base64decodeBytesArray</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decodeClean">base64decodeClean</a></li><li data-type='method' style='display: none;'><a href="String.html#base64decodeClean">base64decodeClean</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encode">base64encode</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encode">base64encode</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encodeBytes">base64encodeBytes</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encodeBytes">base64encodeBytes</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encodeBytesArray">base64encodeBytesArray</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encodeBytesArray">base64encodeBytesArray</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encodeClean">base64encodeClean</a></li><li data-type='method' style='display: none;'><a href="String.html#base64encodeClean">base64encodeClean</a></li><li data-type='method' style='display: none;'><a href="String.html#buildQuery">buildQuery</a></li><li data-type='method' style='display: none;'><a href="String.html#buildQuery">buildQuery</a></li><li data-type='method' style='display: none;'><a href="String.html#buildSearchArray">buildSearchArray</a></li><li data-type='method' style='display: none;'><a href="String.html#buildSearchArray">buildSearchArray</a></li><li data-type='method' style='display: none;'><a href="String.html#cleanTags">cleanTags</a></li><li data-type='method' style='display: none;'><a href="String.html#cleanTags">cleanTags</a></li><li data-type='method' style='display: none;'><a href="String.html#decodeURI">decodeURI</a></li><li data-type='method' style='display: none;'><a href="String.html#decodeURI">decodeURI</a></li><li data-type='method' style='display: none;'><a href="String.html#decryptAes">decryptAes</a></li><li data-type='method' style='display: none;'><a href="String.html#decryptAes">decryptAes</a></li><li data-type='method' style='display: none;'><a href="String.html#decryptTea">decryptTea</a></li><li data-type='method' style='display: none;'><a href="String.html#decryptTea">decryptTea</a></li><li data-type='method' style='display: none;'><a href="String.html#del_Class">del_Class</a></li><li data-type='method' style='display: none;'><a href="String.html#del_Class">del_Class</a></li><li data-type='method' style='display: none;'><a href="String.html#encodeURI">encodeURI</a></li><li data-type='method' style='display: none;'><a href="String.html#encodeURI">encodeURI</a></li><li data-type='method' style='display: none;'><a href="String.html#encryptAes">encryptAes</a></li><li data-type='method' style='display: none;'><a href="String.html#encryptAes">encryptAes</a></li><li data-type='method' style='display: none;'><a href="String.html#encryptTea">encryptTea</a></li><li data-type='method' style='display: none;'><a href="String.html#encryptTea">encryptTea</a></li><li data-type='method' style='display: none;'><a href="String.html#escape">escape</a></li><li data-type='method' style='display: none;'><a href="String.html#escape">escape</a></li><li data-type='method' style='display: none;'><a href="String.html#escapeHex">escapeHex</a></li><li data-type='method' style='display: none;'><a href="String.html#escapeHex">escapeHex</a></li><li data-type='method' style='display: none;'><a href="String.html#fnd_Class">fnd_Class</a></li><li data-type='method' style='display: none;'><a href="String.html#fnd_Class">fnd_Class</a></li><li data-type='method' style='display: none;'><a href="String.html#fromHex">fromHex</a></li><li data-type='method' style='display: none;'><a href="String.html#fromHex">fromHex</a></li><li data-type='method' style='display: none;'><a href="String.html#fromHtml">fromHtml</a></li><li data-type='method' style='display: none;'><a href="String.html#fromHtml">fromHtml</a></li><li data-type='method' style='display: none;'><a href="String.html#lcfirst">lcfirst</a></li><li data-type='method' style='display: none;'><a href="String.html#lcfirst">lcfirst</a></li><li data-type='method' style='display: none;'><a href="String.html#markdown">markdown</a></li><li data-type='method' style='display: none;'><a href="String.html#match_str">match_str</a></li><li data-type='method' style='display: none;'><a href="String.html#match_str">match_str</a></li><li data-type='method' style='display: none;'><a href="String.html#md5">md5</a></li><li data-type='method' style='display: none;'><a href="String.html#md5">md5</a></li><li data-type='method' style='display: none;'><a href="String.html#parseUrl">parseUrl</a></li><li data-type='method' style='display: none;'><a href="String.html#parseUrl">parseUrl</a></li><li data-type='method' style='display: none;'><a href="String.html#parseUrlVars">parseUrlVars</a></li><li data-type='method' style='display: none;'><a href="String.html#sha1">sha1</a></li><li data-type='method' style='display: none;'><a href="String.html#sha1">sha1</a></li><li data-type='method' style='display: none;'><a href="String.html#sha256">sha256</a></li><li data-type='method' style='display: none;'><a href="String.html#sha256">sha256</a></li><li data-type='method' style='display: none;'><a href="String.html#subs">subs</a></li><li data-type='method' style='display: none;'><a href="String.html#subs">subs</a></li><li data-type='method' style='display: none;'><a href="String.html#subs">subs</a></li><li data-type='method' style='display: none;'><a href="String.html#swp_case">swp_case</a></li><li data-type='method' style='display: none;'><a href="String.html#swp_case">swp_case</a></li><li data-type='method' style='display: none;'><a href="String.html#toArrayBufferFromUtf8">toArrayBufferFromUtf8</a></li><li data-type='method' style='display: none;'><a href="String.html#toArrayBufferFromUtf8">toArrayBufferFromUtf8</a></li><li data-type='method' style='display: none;'><a href="String.html#toHex">toHex</a></li><li data-type='method' style='display: none;'><a href="String.html#toHex">toHex</a></li><li data-type='method' style='display: none;'><a href="String.html#toHtml">toHtml</a></li><li data-type='method' style='display: none;'><a href="String.html#toHtml">toHtml</a></li><li data-type='method' style='display: none;'><a href="String.html#toHtmlSimple">toHtmlSimple</a></li><li data-type='method' style='display: none;'><a href="String.html#toHtmlSimple">toHtmlSimple</a></li><li data-type='method' style='display: none;'><a href="String.html#toRegexp">toRegexp</a></li><li data-type='method' style='display: none;'><a href="String.html#toRegexp">toRegexp</a></li><li data-type='method' style='display: none;'><a href="String.html#ucfirst">ucfirst</a></li><li data-type='method' style='display: none;'><a href="String.html#ucfirst">ucfirst</a></li><li data-type='method' style='display: none;'><a href="String.html#unescape">unescape</a></li><li data-type='method' style='display: none;'><a href="String.html#unescape">unescape</a></li><li data-type='method' style='display: none;'><a href="String.html#unicode">unicode</a></li><li data-type='method' style='display: none;'><a href="String.html#unicode">unicode</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8">utf8</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8">utf8</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8decode">utf8decode</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8decode">utf8decode</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8encode">utf8encode</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8encode">utf8encode</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8need">utf8need</a></li><li data-type='method' style='display: none;'><a href="String.html#utf8need">utf8need</a></li></ul></li><li></li></ul><h3>Global</h3><ul><li><a href="global.html#ApplicationBuilderConstructor">ApplicationBuilderConstructor</a></li><li><a href="global.html#ApplicationBuilderExports">ApplicationBuilderExports</a></li><li><a href="global.html#ApplicationPrototypeConstructor">ApplicationPrototypeConstructor</a></li><li><a href="global.html#NodeInterface">NodeInterface</a></li><li><a href="global.html#RequestModuleConstructor">RequestModuleConstructor</a></li></ul> </nav> <div id="main"> <h1 class="page-title">dictionary.d.js</h1> <section> <article> <pre class="prettyprint source linenums"><code>/** * @interface ApplicationPrototype */ /** * @class * @name Instance * @memberof ApplicationPrototype */ /** * @typedef {object} BindListenerConfig - configuration for bind listeners * @memberof ApplicationPrototype.Instance * @property {boolean} [listenedBefore=true] allow listeners before method call * @property {boolean} [listenedOn=true] allow listeners on method call ( is after ) * @property {boolean} [listenedAfter=true] allow listeners after method call ( is after small delay ) * @property {boolean} [allowInterruption=true] */ /** * returns listener Id * @method on * @memberof ApplicationPrototype.Instance# * @param {string|function} event event name of function with name * @param {function} [callback] function that will listen data * @param {string} [specifiedEventId] event name of function with name * @returns {string} */ /** * returns listener Id * @method once * @memberof ApplicationPrototype.Instance# * @param {string|function} event event name of function with name * @param {function} [callback] function that will listen data * @param {string} [specifiedEventId] event name of function with name * @returns {string} */ /** * returns listener Id * @method bind * @memberof ApplicationPrototype.Instance# * @param {string|function} event event name of function with name * @param {function|ApplicationPrototype.Instance.BindListenerConfig} [callback] function that will listen data * @param {ApplicationPrototype.Instance.BindListenerConfig|string} [listenersConfig] of lis event name of function with name * @returns {string} */ /** * emits an application event * @method emit * @memberof ApplicationPrototype.Instance# * @param {string} event event name * @param {any[]} [args] arguments passed with event * @param {boolean} [track=false] indicate if to use tracked handler or internal * @param {boolean} [noSkipStopReturn=false] indicate if event flow can be stopped by a `false` return */ /** * remove all event listeners * @method off * @memberof ApplicationPrototype.Instance# * @param {string} event event or events names separated by comma * @param {string} [specifiedEventId] event name of function with name * @returns {boolean} */ /** * returns listener Id * @method crudEvents * @memberof ApplicationPrototype.Instance# * @param {Object&lt;string,any>} context will be used as a base for ApplicationPrototype instance that will be returned * @param {Object&lt;string,Function>} publicMethods list of public methods available from returned instance * @param {Object&lt;string,Function>} privateMethods list of private methods available only for instance's methods * @returns {ApplicationPrototype.Instance} */ /** * returns listener Id * @callback PropertyHandler * @memberof ApplicationPrototype.Instance * @param {any} value is undefined when `isSetter = true` * @param {any} lastValue * @param {boolean} isSetter */ /** * @method property * @memberof ApplicationPrototype.Instance# * @param {string} propertyName * @param {ApplicationPrototype.Instance.PropertyHandler} getter * @param {ApplicationPrototype.Instance.PropertyHandler} [setter] * @param {object} [config] * @param {boolean} [config.configurable=true] * @param {boolean} [config.enumerable=true] * @fires ApplicationPrototype.Instance.__onSet * @fires ApplicationPrototype.Instance.__onGet * @fires ApplicationPrototype.Instance.__afterGet * @fires ApplicationPrototype.Instance.__afterGet * @fires ApplicationPrototype.Instance.__onSet::propName * @fires ApplicationPrototype.Instance.__onGet::propName * @fires ApplicationPrototype.Instance.__afterGet::propName * @fires ApplicationPrototype.Instance.__afterGet::propName *//** * @method property * @memberof ApplicationPrototype.Instance# * @param {ApplicationPrototype.PropertyHandler} getter function with name * @param {ApplicationPrototype.PropertyHandler} [setter] * @param {object} [config] * @param {boolean} [config.configurable=true] * @param {boolean} [config.enumerable=true] */ /** * @event __onGet * @memberof ApplicationPrototype.Instance * @type {object} * @property {string} propName * @property {any} value * @property {any} lastValue */ /** * @event __onSet * @memberof ApplicationPrototype.Instance * @type {object} * @property {string} propName * @property {any} value * @property {any} lastValue */ /** * @event __afterGet * @memberof ApplicationPrototype.Instance * @type {object} * @property {string} propName * @property {any} value * @property {any} lastValue */ /** * @event __afterSet * @memberof ApplicationPrototype.Instance * @type {object} * @property {string} propName * @property {any} value * @property {any} lastValue */ /** * @event __onGet::propName * @memberof ApplicationPrototype.Instance * @type {object} * @property {any} value * @property {any} lastValue */ /** * @event __onSet::propName * @memberof ApplicationPrototype.Instance * @type {object} * @property {any} value * @property {any} lastValue */ /** * @event __afterGet::propName * @memberof ApplicationPrototype.Instance * @type {object} * @property {any} value * @property {any} lastValue */ /** * @event __afterSet::propName * @memberof ApplicationPrototype.Instance * @type {object} * @property {any} value * @property {any} lastValue */ /** * @class * @name Builder * @memberof ApplicationPrototype * @augments ApplicationPrototype.Instance */ /** * @method require * @memberof ApplicationPrototype.Builder# * @param {string|string[]} events List of Events Names or Array of Events Mapping like [ "uriLoad :: uri-load", "ePrototype :: ExtensionsPrototype" ] * @param {function} [callback] Callback that will receive Module * @returns {PromiseLike&lt;any>} */ /** * @class * @name Promise * @memberof ApplicationPrototype.Builder * @param {function} handler * @returns {PromiseLike&lt;any>} */ /** * @method all * @memberof ApplicationPrototype.Builder.Promise * @param {Promise[]} items * @returns {PromiseLike&lt;any[]>} */ /** * @method race * @memberof ApplicationPrototype.Builder.Promise * @param {Promise[]} items * @returns {PromiseLike&lt;any[]>} */ /** * @method resolve * @memberof ApplicationPrototype.Builder.Promise * @param {any} value * @returns {PromiseLike&lt;any>} */ /** * @method reject * @memberof ApplicationPrototype.Builder.Promise * @param {any} value * @returns {PromiseLike&lt;Error>} */ /** * @method isNode * @memberof ApplicationPrototype.Builder# * @returns {boolean} */ /** * @method isBrowser * @memberof ApplicationPrototype.Builder# * @returns {boolean} */ /** * @method debugEnabled * @memberof ApplicationPrototype.Builder# * @param {boolean} [status] * @returns {boolean} */ /** * @method runModulesInFiles * @memberof ApplicationPrototype.Builder# * @param {boolean} [status] * @returns {boolean} */ /** * @method consoleOptions * @memberof ApplicationPrototype.Builder# * @param {ApplicationPrototype.Builder.ConsoleOptions} [options] * @returns {ApplicationPrototype.Builder.ConsoleOptions} */ /** * @method modulePath * @memberof ApplicationPrototype.Builder# * @param {string} [path] * @returns {string} */ /** * @typedef {object} ConsoleOptions * @memberof ApplicationPrototype.Builder * @property {boolean} [file] enable/disable showing filename in console log. default value is `true` * @property {boolean} [contextName] enable/disable showing context Execution info in console log. default value is `true` * @property {boolean} [timestamp] enable/disable showing current timestamp in console log. default value is `true` * @property {boolean} [logType] enable/disable showing log type in console log. default value is `true */ /** * @typedef {object} ModuleStore * @memberof ApplicationPrototype.Builder * @description modules store where are indexed modules */ /** * @method moduleRegister * @memberof ApplicationPrototype.Builder# * @param {string} path path that will be used as `Application.modulePath()` * @param {string[]} modules list of modules names that should be registered * @returns {ApplicationPrototype.Builder.ModuleStore} */ /** * @typedef {object} ModuleMeta * @memberof ApplicationPrototype.Builder * @property {ApplicationPrototype.Builder.ModuleStore} store same as `module.cache()` * @property {PromiseLike&lt;string>} $requestQuery XMLHttpRequest used for obtaining Module's Content * @property {string} module_path module's path * @property {string} path module's internal path used as identifier of module * @property {string} name module's name * @property {string} __dirname module's dirname */ /** * @callback moduleResolve * @memberof ApplicationPrototype.Builder# * @param {string} module module name * @param {string} [path] module path * @returns {ApplicationPrototype.Builder.ModuleMeta} */ /** * returns interface for accessing Node Env, is defined only in node env * @var NodeInterface * @type {object} * @property {function():NodeJS.Process} process * @property {function():NodeJS.Global} global * @property {function():NodeRequire} require * @property {function(string):any} globalReference returns NodeJS require reference by it's name */ // /** @typedef {{ prop1: string, prop2: string, prop3?: number }} XXXSpecialType */ // /** @typedef {(data: string, index?: number) => boolean} XXXPredicate */ /** * @callback ApplicationPrototypeConstructor * @returns {ApplicationPrototype.Instance} */ /** * @callback ApplicationBuilderConstructor * @returns {ApplicationPrototype.Builder} */ // property {*} _i = function(i,n){return ((n + (i % n))%n); }; /** * @var {ExtensionsPrototype.slDOM} _ * @memberof ExtensionsPrototype */ /** * @var {ExtensionsPrototype.slDOMSet} __ * @memberof ExtensionsPrototype */ /** * @class * @name slDOMSet * @memberof ExtensionsPrototype * @param {string} [cssSelector] */ /** * @method config * @memberof ExtensionsPrototype.slDOMSet# * @param {string} key * @param {any} value * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method config * @memberof ExtensionsPrototype.slDOMSet# * @param {string} key * @returns {any} */ /** * @method unique * @memberof ExtensionsPrototype.slDOMSet# * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method set * @memberof ExtensionsPrototype.slDOMSet# * @param {string} v css selector applied over document * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method set * @memberof ExtensionsPrototype.slDOMSet# * @param {(NodeList|any[])} v array of Nodes or HTMLElements * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method add * @memberof ExtensionsPrototype.slDOMSet# * @param {(NodeList|any)} ...v array of Nodes or HTMLElements * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method env * @memberof ExtensionsPrototype.slDOMSet# * @returns {ExtensionsPrototype.slDOM_env} */ /** * @method get * @memberof ExtensionsPrototype.slDOMSet# * @returns {(Node[])} */ /** * @method get * @memberof ExtensionsPrototype.slDOMSet# * @param {number} index * @returns {(Node)} */ /** * @method eq * @memberof ExtensionsPrototype.slDOMSet# * @param {number} index * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method find * @memberof ExtensionsPrototype.slDOMSet# * @param {string} cssSelector * @returns {ExtensionsPrototype.slDOMSet} */ /** * @callback itemHandler * @memberof ExtensionsPrototype.slDOMSet * @param {Node} node * @param {number} index * @param {ExtensionsPrototype.slDOMSet} context * @param {ExtensionsPrototype.slDOM} p */ /** * @callback itemHandlerFilter * @memberof ExtensionsPrototype.slDOMSet * @param {Node} node * @param {number} index * @param {ExtensionsPrototype.slDOMSet} context * @param {ExtensionsPrototype.slDOM} p * @returns {boolean} */ /** * @callback itemHandlerMap * @memberof ExtensionsPrototype.slDOMSet * @param {Node} node * @param {number} index * @param {ExtensionsPrototype.slDOMSet} context * @param {ExtensionsPrototype.slDOM} p * @returns {Node} */ /** * @method filter * @memberof ExtensionsPrototype.slDOMSet# * @param {ExtensionsPrototype.slDOMSet.itemHandlerFilter} filterCallback * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method each * @memberof ExtensionsPrototype.slDOMSet# * @param {ExtensionsPrototype.slDOMSet.itemHandler} filterCallback * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method map * @memberof ExtensionsPrototype.slDOMSet# * @param {ExtensionsPrototype.slDOMSet.itemHandlerMap} filterCallback * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method attr * @memberof ExtensionsPrototype.slDOMSet# * @returns {NamedNodeMap} */ /** * @method attr * @memberof ExtensionsPrototype.slDOMSet# * @param {string} attribute * @returns {string} */ /** * @method attr * @memberof ExtensionsPrototype.slDOMSet# * @param {string} attribute * @param {any} value * @returns {ExtensionsPrototype.slDOMSet} */ /** * @method attr * @memberof ExtensionsPrototype.slDOMSet# * @param {any} ...attr_value * @returns {ExtensionsPrototype.slDOMSet} */ // ["toFunction", "x" ].forEach(function (method) { // ["sClass", "c" ].forEach(function (method) { // [ "g_wh", "r", "pagePXY", "PXY", "eventsCache", "in_e", "i", "is_free", "is_focused", "is_inview", "is_visible" ].forEach(function (method) { // [ "on", "off", "opacity", "a2D", "triger", "setVar", "T", "setStyle", "setStyleSPEED", "F", "f", "o", "removeFromDOM", "free", "d", "D", "clearE", "delE", "setVar", "setObjVar", "setObjProto", "V", "v", "p", "adEto", "putBfto", "putAfto", "putBf", "putAf", "Et", "Bt", "At", "pB", "pA", "addE", "addB", "addT", "e", "b", "t", "getTagsByQuery", "getTags", "s", "q", "nextTo", "backTo", "nUP", "nChild", "getParentN", "copyE", "getParentTag", "getByTag", "getByQuery", "getById", "N", "B", "U", "C", "P", "X", "p", "S", "Q", "I" ].forEach(function (method) { /** * @typedef slDOM_env * @memberof ExtensionsPrototype * @property {boolean} gecko * @property {boolean} old_ie * @property {boolean} ie_lt8 * @property {boolean} ie_lt9 * @property {boolean} ie_gt10 * @property {boolean} ie * @property {boolean} webkit * @property {boolean} qtwebkit * @property {boolean} chrome * @property {boolean} opera * @property {boolean} firefox * @property {boolean} safari * @property {boolean} khtml * @property {boolean} mac_geLion * @property {boolean} mac_geMountainLion * @property {boolean} phantom * @property {boolean} ios * @property {boolean} mobile * @property {boolean} mac * @property {boolean} windows * @property {Array|null} opera_version * @property {boolean} flipCtrlCmd * @property {boolean} captureMiddleClick * @property {boolean} android * @property {string|false} android_version */ /** * @typedef {Object&lt;string,(string|number)>} slDOM_ObjectCSSProperties a list of proprieties mapped in a object, example: { fontSize: "10px", "white-space": "nowrap" } * @memberof ExtensionsPrototype */ /** * @typedef {Object&lt;string,(string|number)>} slDOM_ObjectAttributes a list of proprieties mapped in a object, example: { fontSize: "10px", "white-space": "nowrap" } * @memberof ExtensionsPrototype */ /** * @typedef {object} slDOM returns a pointer that walks over DOM and applying needed operations * @memberof ExtensionsPrototype * @property {ExtensionsPrototype.slDOM_env} env Environment Flags * @property {function(boolean):HTMLElement} __ if params is `true` then return document otherwise current HTMLElement * @property {function(object):ExtensionsPrototype.slDOM} a2D apply Css Transforms on elements * @property {function(number):ExtensionsPrototype.slDOM} opacity ( short form **o** ) change element opacity * @property {function((HTMLElement|string)):ExtensionsPrototype.slDOM} setE ( short form **e** ) set a HTMLElement or Create Element for slDOM Pointer * @property {function((string|string[]),string?,number?):ExtensionsPrototype.slDOM|boolean} sClass =slDOMlib.sClass; * @property {function(...string):slDOM} setArg ( short form **A** ) set Attributes to HTMLElement, arguments order: `[ attribute, value, attribute, value ... ]` * @property {function(HTMLElement):slDOM} adEto add current HTMLElement to other HTMLElement; * @property {function(HTMLElement):slDOM} putBfto insert current HTMLElement before other HTMLElement * @property {function(HTMLElement):slDOM} putAfto insert current HTMLElement after other HTMLElement * @property {function((HTMLElement|string),string?,function?):slDOM} putBf =slDOMlib.putBf; * @property {function(HTMLElement):slDOM} putAf =slDOMlib.putAf; * @property {function((HTMLElement|string),string?,function?):slDOM} addE =slDOMlib.addE; * @property {function((HTMLElement|string),string?,function?):slDOM} addB =slDOMlib.addB; * @property {function(string):slDOM} addT ( short form **t** ) add text node to HTMLElement; * @property {function(number):slDOM} [nextTo=1] ( short form **N** ) moving pointer forward to N neighbors * @property {function(number):slDOM} [backTo=1] ( short form **B** ) moving pointer backward to N neighbors * @property {function(number?):slDOM} nUP ( short form is U ) goes up on level in doom * @property {function(number?):slDOM} nChild ( short form is **C** ) select the *N th* child element * @property {function(number?):slDOM} getParentN ( short form is **P** ) select the *N th* parent element * @property {function():slDOM} clearE ( short form is **d** ) remove all childObjects from node * @property {function():slDOM} delE remove HTMLElement from its Parent * @property {function(boolean):slDOM} copyE =slDOMlib.copyE; * @property {function(string):slDOM} getParentTag =slDOMlib.getParentTag; * @property {function(string,number,boolean,boolean):slDOM} getByTag =slDOMlib.getByTag; * @property {function(string,number,boolean,boolean):slDOM} getByQuery =slDOMlib.getByQuery; * @property {function(string):slDOM} getById =slDOMlib.getById; * @property {function(string,boolean):Array&lt;HTMLElement>} getTags =slDOMlib.getTags; * @property {function(string,boolean):Array&lt;HTMLElement>} getTagsByQuery =slDOMlib.getTagsByQuery; * @property {function(string):slDOM} triger ( short form **T** ) trigger / emit an event on HTMLElement * @property {function(string?):slDOM|HTMLElement|string} getE ( short form **_** ) return HTMLElement ; * * if argument[0] is ".tag" return HTMLElement's tagname ; * * if argument[0] is ".html" return HTML Content ; * * if argument[0] is ".text" return Text Content ; * * if argument[0] is "-attributeName" return HTMLElement's Attribute ; * * if argument[0] is "!attributeName" remove HTMLElement's Attribute * @property {function(ExtensionsPrototype.slDOM_ObjectCSSProperties): slDOM} setStyle ( short form **f** ) setting css proprieties to HTMLElement * @property {function((ExtensionsPrototype.slDOM_ObjectAttributes | string[])): slDOM} setVar ( short form **V** ) set dot property on HTMLElement * @property {function(...ExtensionsPrototype.slDOM_ObjectAttributes): slDOM} setObjVar ( short form **v** ) setting attributes to HTMLElement * @property {function(ExtensionsPrototype.slDOM_ObjectCSSProperties): slDOM} setStyleSPEED ( short form **F** ) setting css proprieties to HTMLElement with normalizing values by adding units * @property {function(): { x: number, y: number }} pagePXY ( short form **PXY** ) get element position on page * @property {function(): Boolean} in_e check if HTMLElement is still attached to DOM ( Document Object Manager ) *