SYMBOL INDEX (307 symbols across 39 files) FILE: api/mount-redraw.js function sync (line 10) | function sync() { function redraw (line 18) | function redraw() { function mount (line 30) | function mount(root, component) { FILE: api/router.js function resolveRoute (line 43) | function resolveRoute() { function fireAsync (line 112) | function fireAsync() { function route (line 122) | function route(root, defaultRoute, routes) { FILE: api/tests/test-router.js function waitCycles (line 28) | function waitCycles(n) { function lock (line 50) | function lock(func) { function Cmp (line 372) | function Cmp() {return {view: lock(view)}} FILE: mithril.js function Vnode (line 3) | function Vnode(tag, key, attrs0, children, text, dom) { function isEmpty (line 65) | function isEmpty(object) { function isFormAttributeKey (line 69) | function isFormAttributeKey(key) { function compileSelector (line 72) | function compileSelector(selector) { function execSelector (line 94) | function execSelector(state, vnode) { function hyperscript (line 125) | function hyperscript(selector, attrs, ...children) { function getDocument (line 173) | function getDocument(dom) { function getNameSpace (line 176) | function getNameSpace(vnode3) { function checkState (line 180) | function checkState(vnode3, original) { function callHook (line 187) | function callHook(vnode3) { function activeElement (line 197) | function activeElement(dom) { function createNodes (line 205) | function createNodes(parent, vnodes, start, end, hooks, nextSibling, ns) { function createNode (line 213) | function createNode(parent, vnode3, hooks, ns, nextSibling) { function createText (line 227) | function createText(parent, vnode3, nextSibling) { function createHTML (line 232) | function createHTML(parent, vnode3, ns, nextSibling) { function createFragment (line 255) | function createFragment(parent, vnode3, hooks, ns, nextSibling) { function createElement (line 265) | function createElement(parent, vnode3, hooks, ns, nextSibling) { function initComponent (line 286) | function initComponent(vnode3, hooks) { function createComponent (line 306) | function createComponent(parent, vnode3, hooks, ns, nextSibling) { function updateNodes (line 411) | function updateNodes(parent, old, vnodes, hooks, nextSibling, ns) { function updateNode (line 536) | function updateNode(parent, old, vnode3, hooks, nextSibling, ns) { function updateText (line 560) | function updateText(old, vnode3) { function updateHTML (line 566) | function updateHTML(parent, old, vnode3, ns, nextSibling) { function updateFragment (line 576) | function updateFragment(parent, old, vnode3, hooks, nextSibling, ns) { function updateElement (line 591) | function updateElement(old, vnode3, hooks, ns) { function updateComponent (line 601) | function updateComponent(parent, old, vnode3, hooks, nextSibling, ns) { function getKeyMap (line 617) | function getKeyMap(vnodes, start, end) { function makeLisIndices (line 634) | function makeLisIndices(a) { function getNextSibling (line 674) | function getNextSibling(vnodes, i, nextSibling) { function moveDOM (line 681) | function moveDOM(parent, vnode3, nextSibling) { function insertDOM (line 694) | function insertDOM(parent, dom, nextSibling) { function maybeSetContentEditable (line 698) | function maybeSetContentEditable(vnode3) { function removeNodes (line 712) | function removeNodes(parent, vnodes, start, end) { function tryBlockRemove (line 718) | function tryBlockRemove(parent, vnode3, source, counter) { function tryResumeRemove (line 730) | function tryResumeRemove(parent, vnode3, counter) { function removeNode (line 736) | function removeNode(parent, vnode3) { function removeDOM (line 742) | function removeDOM(parent, vnode3) { function onremove (line 750) | function onremove(vnode3) { function setAttrs (line 767) | function setAttrs(vnode3, attrs5, ns) { function setAttr (line 772) | function setAttr(vnode3, key, old, value, ns) { function removeAttr (line 805) | function removeAttr(vnode3, key, old, ns) { function setLateSelectAttrs (line 826) | function setLateSelectAttrs(vnode3, attrs5) { function updateAttrs (line 839) | function updateAttrs(vnode3, old, attrs5, ns) { function isFormAttribute (line 859) | function isFormAttribute(vnode3, attr) { function isLifecycleMethod (line 862) | function isLifecycleMethod(attr) { function hasPropertyKey (line 865) | function hasPropertyKey(vnode3, key, ns) { function updateStyle (line 876) | function updateStyle(element, old, style) { function EventDict (line 928) | function EventDict() { function updateEvent (line 953) | function updateEvent(vnode3, key, value) { function initLifecycle (line 971) | function initLifecycle(source, vnode3, hooks) { function updateLifecycle (line 975) | function updateLifecycle(source, vnode3, hooks) { function shouldNotUpdate (line 978) | function shouldNotUpdate(vnode3, old) { function sync (line 1039) | function sync() { function redraw (line 1046) | function redraw() { function mount (line 1056) | function mount(root, component) { function destructure (line 1081) | function destructure(key2, value1) { function PromiseProxy (line 1130) | function PromiseProxy(executor) { function makeRequest (line 1133) | function makeRequest(url, args) { function hasHeader (line 1261) | function hasHeader(args, name) { function complete (line 1274) | function complete() { function wrap (line 1278) | function wrap(promise) { function resolveRoute (line 1492) | function resolveRoute() { function fireAsync (line 1551) | function fireAsync() { function route (line 1560) | function route(root, defaultRoute, routes) { FILE: pathname/tests/test-buildPathname.js function test (line 7) | function test(prefix) { FILE: performance/test-perf.js function cycleRoot (line 58) | function cycleRoot() { function get (line 345) | function get(obj, i) { return obj[i % obj.length] } FILE: querystring/build.js function destructure (line 13) | function destructure(key, value) { FILE: render/hyperscript.js function isEmpty (line 12) | function isEmpty(object) { function isFormAttributeKey (line 17) | function isFormAttributeKey(key) { function compileSelector (line 21) | function compileSelector(selector) { function execSelector (line 44) | function execSelector(state, vnode) { function hyperscript (line 84) | function hyperscript(selector, attrs, ...children) { FILE: render/render.js function getDocument (line 17) | function getDocument(dom) { function getNameSpace (line 21) | function getNameSpace(vnode) { function checkState (line 26) | function checkState(vnode, original) { function callHook (line 34) | function callHook(vnode) { function activeElement (line 45) | function activeElement(dom) { function createNodes (line 53) | function createNodes(parent, vnodes, start, end, hooks, nextSibling, ns) { function createNode (line 61) | function createNode(parent, vnode, hooks, ns, nextSibling) { function createText (line 75) | function createText(parent, vnode, nextSibling) { function createHTML (line 80) | function createHTML(parent, vnode, ns, nextSibling) { function createFragment (line 103) | function createFragment(parent, vnode, hooks, ns, nextSibling) { function createElement (line 113) | function createElement(parent, vnode, hooks, ns, nextSibling) { function initComponent (line 139) | function initComponent(vnode, hooks) { function createComponent (line 159) | function createComponent(parent, vnode, hooks, ns, nextSibling) { function updateNodes (line 270) | function updateNodes(parent, old, vnodes, hooks, nextSibling, ns) { function updateNode (line 397) | function updateNode(parent, old, vnode, hooks, nextSibling, ns) { function updateText (line 421) | function updateText(old, vnode) { function updateHTML (line 427) | function updateHTML(parent, old, vnode, ns, nextSibling) { function updateFragment (line 437) | function updateFragment(parent, old, vnode, hooks, nextSibling, ns) { function updateElement (line 452) | function updateElement(old, vnode, hooks, ns) { function updateComponent (line 463) | function updateComponent(parent, old, vnode, hooks, nextSibling, ns) { function makeLisIndices (line 485) | function makeLisIndices(a) { function getNextSibling (line 526) | function getNextSibling(vnodes, i, end, nextSibling) { function moveDOM (line 534) | function moveDOM(parent, vnode, nextSibling) { function insertDOM (line 548) | function insertDOM(parent, dom, nextSibling) { function maybeSetContentEditable (line 553) | function maybeSetContentEditable(vnode) { function removeNodes (line 568) | function removeNodes(parent, vnodes, start, end) { function tryBlockRemove (line 574) | function tryBlockRemove(parent, vnode, source, counter) { function tryResumeRemove (line 588) | function tryResumeRemove(parent, vnode, counter) { function removeNode (line 594) | function removeNode(parent, vnode) { function removeDOM (line 600) | function removeDOM(parent, vnode) { function onremove (line 609) | function onremove(vnode) { function setAttrs (line 627) | function setAttrs(vnode, attrs, ns) { function setAttr (line 632) | function setAttr(vnode, key, old, value, ns) { function removeAttr (line 665) | function removeAttr(vnode, key, old, ns) { function setLateSelectAttrs (line 686) | function setLateSelectAttrs(vnode, attrs) { function updateAttrs (line 699) | function updateAttrs(vnode, old, attrs, ns) { function isFormAttribute (line 719) | function isFormAttribute(vnode, attr) { function isLifecycleMethod (line 722) | function isLifecycleMethod(attr) { function hasPropertyKey (line 725) | function hasPropertyKey(vnode, key, ns) { function updateStyle (line 737) | function updateStyle(element, old, style) { function EventDict (line 790) | function EventDict() { function updateEvent (line 816) | function updateEvent(vnode, key, value) { function initLifecycle (line 835) | function initLifecycle(source, vnode, hooks) { function updateLifecycle (line 839) | function updateLifecycle(source, vnode, hooks) { function shouldNotUpdate (line 842) | function shouldNotUpdate(vnode, old) { FILE: render/tests/test-attributes.js function makeSelect (line 520) | function makeSelect(value) { FILE: render/tests/test-component.js function view (line 448) | function view() { function view (line 488) | function view() { function init (line 850) | function init(vnode) { function init (line 867) | function init(vnode) { function init (line 1125) | function init(vnode) { FILE: render/tests/test-domFor.js method oncreate (line 20) | oncreate(vnode){ method oncreate (line 30) | oncreate(vnode){ function oncreate (line 44) | function oncreate(vnode){ function onupdate (line 57) | function onupdate(vnode) { method onbeforeremove (line 75) | onbeforeremove(){return {then(){}, finally(){}}} method then (line 97) | then(resolve){resolve()} method then (line 120) | then(resolve){thenCBA = resolve} method then (line 123) | then(resolve){thenCBB = resolve} method then (line 126) | then(resolve){thenCBC = resolve} method then (line 246) | then(resolve){thenCBA = resolve} method then (line 249) | then(resolve){thenCBB = resolve} method then (line 252) | then(resolve){thenCBC = resolve} method then (line 372) | then(resolve){thenCBA = resolve} method then (line 375) | then(resolve){thenCBB = resolve} method then (line 378) | then(resolve){thenCBC = resolve} method then (line 498) | then(resolve){thenCBA = resolve} method then (line 501) | then(resolve){thenCBB = resolve} method then (line 504) | then(resolve){thenCBC = resolve} method then (line 624) | then(resolve){thenCBA = resolve} method then (line 627) | then(resolve){thenCBB = resolve} method then (line 630) | then(resolve){thenCBC = resolve} method then (line 750) | then(resolve){thenCBA = resolve} method then (line 753) | then(resolve){thenCBB = resolve} method then (line 756) | then(resolve){thenCBC = resolve} method view (line 878) | view(){return m("div")} method oncreate (line 879) | oncreate(vnode){ method view (line 904) | view({children}){return children} method then (line 915) | then(){} method finally (line 915) | finally(){} method view (line 943) | view({children}){return children} method then (line 973) | then(){} method finally (line 973) | finally(){} method view (line 976) | view({children}){return children} FILE: render/tests/test-event.js function eventSpy (line 21) | function eventSpy(fn) { method then (line 441) | then(resolve){thenCB = resolve} method then (line 501) | then(resolve){thenCB = resolve} method then (line 602) | then(_, reject){rejectCB = reject} method then (line 673) | then(resolve){thenCB = resolve} method then (line 744) | then(_, reject){rejectCB = reject} FILE: render/tests/test-fragment.js function fragmentStr (line 7) | function fragmentStr() { function runTest (line 13) | function runTest(name, fragment) { FILE: render/tests/test-input.js function makeSelect (line 261) | function makeSelect() { FILE: render/tests/test-onbeforeremove.js function remove (line 45) | function remove(node) { function remove (line 65) | function remove(node) { function onbeforeremove (line 84) | function onbeforeremove(node) { FILE: render/tests/test-onbeforeupdate.js function onbeforeupdate (line 59) | function onbeforeupdate(vnode, old) { function onbeforeupdate (line 78) | function onbeforeupdate() { function onbeforeupdate (line 94) | function onbeforeupdate() { function onbeforeupdate (line 231) | function onbeforeupdate(vnode, old) { function onbeforeupdate (line 257) | function onbeforeupdate() { function onbeforeupdate (line 280) | function onbeforeupdate() { method view (line 342) | view(v) { FILE: render/tests/test-oncreate.js function create (line 182) | function create(vnode) { FILE: render/tests/test-oninit.js function create (line 167) | function create(vnode) { FILE: render/tests/test-onremove.js method view (line 240) | view({children}){return children} method onbeforeremove (line 241) | onbeforeremove(){ function update (line 245) | function update(id, showParent, showChild) { FILE: render/tests/test-onupdate.js function update (line 144) | function update(vnode) { FILE: render/tests/test-render.js function run (line 71) | function run() { function init (line 74) | function init() { function A (line 92) | function A(){} function A (line 113) | function A(){} function A (line 134) | function A(){throw new Error("error")} function A (line 155) | function A() { function A (line 178) | function A() { function A (line 199) | function A() { function A (line 335) | function A() { FILE: render/tests/test-updateHTML.js function childKeysOf (line 52) | function childKeysOf(elem, key) { FILE: render/tests/test-updateNodes.js function vnodify (line 11) | function vnodify(str) { FILE: render/tests/test-updateNodesFuzzer.js function longestIncreasingSubsequence (line 75) | function longestIncreasingSubsequence(a) { function rand (line 121) | function rand(min, max) { function ins (line 125) | function ins(arr, qty) { function del (line 132) | function del(arr, qty) { function mov (line 137) | function mov(arr, qty) { function fuzzTest (line 146) | function fuzzTest(delMax, movMax, insMax) { function addSpies (line 182) | function addSpies(node) { FILE: render/vnode.js function Vnode (line 3) | function Vnode(tag, key, attrs, children, text, dom) { FILE: request/request.js function PromiseProxy (line 7) | function PromiseProxy(executor) { function makeRequest (line 11) | function makeRequest(url, args) { function hasHeader (line 156) | function hasHeader(args, name) { function complete (line 170) | function complete() { function wrap (line 176) | function wrap(promise) { FILE: request/tests/test-request.js function config (line 381) | function config(xhr) { function config (line 439) | function config(xhr) { function config (line 451) | function config(xhr) { function handleAbort (line 464) | function handleAbort(xhr) { function handleAbort (line 494) | function handleAbort(xhr) { function checkUnset (line 772) | function checkUnset(method) { function checkSet (line 796) | function checkSet(method, body) { FILE: scripts/_bundler-impl.js function isFile (line 11) | function isFile(filepath) { function escapeRegExp (line 14) | function escapeRegExp(string) { function escapeReplace (line 17) | function escapeReplace(string) { function resolve (line 21) | async function resolve(filepath, filename) { function matchAll (line 51) | function matchAll(str, regexp) { function process (line 66) | async function process(filepath, data) { function exportCode (line 105) | async function exportCode(filename, filepath, def, variable, eq, rest, u... FILE: scripts/bundler.js function add (line 29) | function add(value) { function format (line 34) | function format(n) { function build (line 38) | async function build() { FILE: scripts/minify-stream.js function format (line 29) | function format(n) { function minify (line 34) | async function minify() { FILE: scripts/tests/test-bundler.js function write (line 18) | async function write(filepath, data) { function setup (line 27) | function setup(files) { FILE: stream/stream.js function Stream (line 22) | function Stream(value) { function combine (line 100) | function combine(fn, streams) { function merge (line 135) | function merge(streams) { function scan (line 139) | function scan(fn, acc, origin) { function scanMerge (line 149) | function scanMerge(tuples, seed) { function lift (line 167) | function lift() { function open (line 175) | function open(s) { FILE: stream/tests/test-stream.js function f (line 642) | function f(x) {return x * 2} function g (line 643) | function g(x) {return x * x} FILE: test-utils/components.js function res (line 16) | function res(){} FILE: test-utils/domMock.js function registerSpies (line 39) | function registerSpies(element, spies) { function getSpies (line 50) | function getSpies(element) { function isModernEvent (line 55) | function isModernEvent(type) { function dispatchEvent (line 58) | function dispatchEvent(e) { function appendChild (line 82) | function appendChild(child) { function removeChild (line 101) | function removeChild(child) { function insertBefore (line 112) | function insertBefore(child, reference) { function getAttribute (line 142) | function getAttribute(name) { function setAttribute (line 146) | function setAttribute(name, value) { function setAttributeNS (line 165) | function setAttributeNS(ns, name, value) { function removeAttribute (line 169) | function removeAttribute(name) { function hasAttribute (line 172) | function hasAttribute(name) { function splitDeclList (line 185) | function splitDeclList(declList) { function parseMarkup (line 207) | function parseMarkup(value, root, voidElements, xmlns) { function DOMParser (line 231) | function DOMParser() {} function camelCase (line 241) | function camelCase(string) { method firstChild (line 324) | get firstChild() { method nextSibling (line 327) | get nextSibling() { method textContent (line 334) | set textContent(value) { method innerHTML (line 339) | set innerHTML(value) { method style (line 353) | get style() { method style (line 356) | set style(value){ method className (line 359) | get className() { method className (line 362) | set className(value) { function getOptions (line 598) | function getOptions(element) { function getOptionValue (line 606) | function getOptionValue(element) { method childNodes (line 709) | get childNodes() { return [] } method firstChild (line 710) | get firstChild() { return null } method nodeValue (line 711) | get nodeValue() {return nodeValue} method nodeValue (line 712) | set nodeValue(value) { method nextSibling (line 717) | get nextSibling() { method firstChild (line 735) | get firstChild() { method activeElement (line 746) | get activeElement() {return activeElement} FILE: test-utils/pushStateMock.js function debouncedAsync (line 6) | function debouncedAsync(f) { function getURL (line 30) | function getURL() { function setURL (line 34) | function setURL(value) { function prefix (line 51) | function prefix(prefix, value) { function _hashchange (line 55) | function _hashchange() { function popstate (line 59) | function popstate() { function unload (line 62) | function unload() { method protocol (line 67) | get protocol() { method hostname (line 70) | get hostname() { method port (line 73) | get port() { method pathname (line 76) | get pathname() { method search (line 79) | get search() { method hash (line 82) | get hash() { method origin (line 85) | get origin() { method host (line 89) | get host() { method href (line 93) | get href() { method protocol (line 97) | set protocol(value) { method hostname (line 100) | set hostname(value) { method port (line 106) | set port(value) { method pathname (line 113) | set pathname(value) { method search (line 120) | set search(value) { method hash (line 126) | set hash(value) { method origin (line 134) | set origin(value) { method host (line 137) | set host(value) { method href (line 140) | set href(value) { method state (line 182) | get state() { FILE: test-utils/tests/test-pushStateMock.js function pop (line 474) | function pop(e) { FILE: test-utils/xhrMock.js function FormData (line 14) | function FormData() {}