MCPcopy Index your code

hub / github.com/jimhigson/oboe.js / functions

Functions243 in github.com/jimhigson/oboe.js

↓ 117 callersFunctionmatched
(obj)
test/libs/oboeAsserter.js:320
↓ 114 callersFunctiongivenAnOboeInstance
(jsonFileName)
test/libs/oboeAsserter.js:11
↓ 60 callersFunctionoboe
(arg1)
src/publicApi.js:8
↓ 55 callersFunctionbus
(eventName)
test/libs/spiedPubSub.js:62
↓ 33 callersFunctionfoundNMatches
(n)
test/libs/oboeAsserter.js:227
↓ 32 callersFunctionsingleEventPubSub
* A pub/sub which is responsible for a single event type. A * multi-event type event bus is created by pubSub by collecting * several of these. *
src/singleEventPubSub.js:17
↓ 28 callersFunctiongetOwn
(obj, prop)
test/require/require.js:83
↓ 27 callersFunctioncons
* Like cons in Lisp
src/lists.js:6
↓ 24 callersFunctionemitError
(errorString)
src/libs/clarinet.js:101
↓ 23 callersFunctionstreamingHttp
* A wrapper around the browser XmlHttpRequest object that raises an * event whenever a new part of the response is available. * * In older browsers
src/streamingHttp.browser.js:31
↓ 22 callersFunctionhasRootJson
(expected)
test/libs/oboeAsserter.js:243
↓ 19 callersFunctionfakePubSub
(eventNames)
test/libs/spiedPubSub.js:28
↓ 19 callersFunctionhttpTransport
()
src/streamingHttp.browser.js:7
↓ 19 callersFunctionpubSub
* pubSub is a curried interface for listening to and emitting * events. * * If we get a bus: * * var bus = pubSub(); * * We can listen to ev
src/pubSub.js:38
↓ 18 callersFunctionwaitUntil
(event)
test/specs/streamingHttp.integration.spec.js:493
↓ 17 callersFunctionmatchOf
(pattern)
test/specs/jsonPath.unit.spec.js:483
↓ 14 callersFunctionnamedNode
* Get a new key->node mapping * * @param {String|Number} key * @param {Object|Array|String|Number|null} node a value found in the json
src/ascent.js:9
↓ 14 callersFunctionvarArgs
* Define variable argument functions but cut out all that tedious messing about * with the arguments object. Delivers the variable-length part of the
src/functional.js:152
↓ 13 callersFunctionhasProp
(obj, prop)
test/require/require.js:79
↓ 12 callersFunctionattr
* Generic form for a function to get a property from an object * * var o = { * foo:'bar' * } * * var getFoo = attr('foo') * * fetFoo
src/functional.js:80
↓ 12 callersFunctionbind
(obj, fn)
test/require/require.js:127
↓ 11 callersFunctionanAscentContaining
(/* descriptors */)
test/specs/incrementalContentBuilder.unit.spec.js:324
↓ 11 callersFunctionapplyDefaults
(passthrough, url, httpMethodName, body, headers, withCredentials, cached)
src/defaults.js:3
↓ 11 callersFunctionmakeModuleMap
* Creates a module mapping that includes plugin prefix, module * name, and path. If parentModuleMap is provided it will * also norma
test/require/require.js:413
↓ 10 callersFunctionerrorReport
(statusCode, body, error)
src/events.js:34
↓ 10 callersFunctionstreamedContentPassedTo
(eventBus)
test/specs/streamingHttp.integration.spec.js:503
↓ 9 callersFunctionanAscent
()
test/specs/instanceApi.unit.spec.js:23
↓ 9 callersFunctionasAscent
(pathStack, nodeStack)
test/specs/jsonPath.unit.spec.js:503
↓ 9 callersFunctionascentFrom
pass me an object with only one child at each level and will return a nodeStack * and pathStack which describes the only possibly descent top-to-bot
test/libs/ascentFrom.js:9
↓ 9 callersFunctioneach
* Helper function for iterating over an array. If the func returns * a true value, it will break out of the loop.
test/require/require.js:53
↓ 9 callersFunctionfn
()
test/require/require.js:1343
↓ 9 callersFunctionlistAsArray
* Convert a list back to a js native array
src/lists.js:74
↓ 9 callersFunctiononError
(err, errback)
test/require/require.js:515
↓ 9 callersFunctiontoObject
(o)
test/libs/es5-shim.js:1313
↓ 8 callersFunctionaContentBuilder
()
test/specs/incrementalContentBuilder.unit.spec.js:240
↓ 8 callersFunctioncompose2
* A more optimised version of compose that takes exactly two functions * @param f1 * @param f2
src/functional.js:61
↓ 8 callersFunctionmakeError
* Constructs an error with a pointer to an URL with more information. * @param {String} id the error ID that maps to an ID on a web page. *
test/require/require.js:162
↓ 7 callersFunctioneachProp
* Cycles over properties in an object and calls a function for each * property value. If the function returns a truthy value, then the * ite
test/require/require.js:92
↓ 7 callersFunctionparseResponseHeaders
* XmlHttpRequest's getAllResponseHeaders() method returns a string of response * headers according to the format described here: * http://www.w3.org
src/parseResponseHeaders.browser.js:9
↓ 7 callersFunctionwithout
* Return a list like the one given but with the first instance equal * to item removed
src/lists.js:116
↓ 6 callersFunctionapply
* Call a single function with the given arguments array. * Basically, a functional-style version of the OO-style Function#apply for * when we don't ca
src/functional.js:126
↓ 6 callersFunctionfoldR
* foldR implementation. Reduce a list down to a single value. * * @pram {Function} fn (rightEval, curVal) -> result
src/lists.js:95
↓ 6 callersFunctionisArray
(it)
test/require/require.js:45
↓ 6 callersFunctionisFunction
(it)
test/require/require.js:41
↓ 6 callersFunctionmultiply
(n, c)
test/libs/es5-shim.js:957
↓ 6 callersFunctionnormalize
* Given a relative module name, like ./something, normalize it to * a real name that can be mapped to a path. * @param {String} name
test/require/require.js:263
↓ 5 callersFunctionall
* Returns true if the given function holds for every item in * the list, false otherwise
src/lists.js:133
↓ 5 callersFunctionargumentClone
sinon stub is only really used to record arguments given. * However, we want to preserve the arguments given at the time of calling, because the
test/libs/oboeAsserter.js:164
↓ 5 callersFunctionclauseMatcher
* Partially completes generateClauseReaderIfTokenFound above.
src/jsonPath.js:252
↓ 5 callersFunctioncompiling
(pattern)
test/specs/jsonPath.unit.spec.js:477
↓ 5 callersFunctionequalTo
(val)
test/specs/lists.unit.spec.js:58
↓ 5 callersFunctiongetModule
(depMap)
test/require/require.js:485
↓ 5 callersFunctionreportArgumentsToCallback
* Make a string version of the callback arguments given from oboe * @param {[[*]]} callbackArgs
test/libs/oboeAsserter.js:306
↓ 5 callersFunctionrunFunction
()
test/specs/streamingHttp.integration.spec.js:197
↓ 5 callersFunctionwaitsForAndRuns
(escapeFunction, runFunction, escapeTime)
test/specs/oboe.integration.spec.js:595
↓ 5 callersFunctionwhitespace
(c)
src/libs/clarinet.js:148
↓ 4 callersFunctionanAscentMatching
(pattern)
test/specs/instanceApi.component.spec.js:37
↓ 4 callersFunctionisEven
(n)
test/specs/oboe.component.spec.js:1396
↓ 4 callersFunctionlazyIntersection
* Create a function which is the intersection of two other functions. * * Like the && operator, if the first is truthy, the second is never called, *
src/functional.js:206
↓ 4 callersFunctionnow
()
test/specs/oboe.performance.spec.js:2
↓ 4 callersFunctionon
(depMap, name, fn)
test/require/require.js:496
↓ 4 callersFunctionparseUrlOrigin
(url)
src/detectCrossOrigin.browser.js:38
↓ 4 callersFunctionpow
(x, n, acc)
test/libs/es5-shim.js:991
↓ 3 callersFunctionapplyEach
* Call every function in a list of functions with the same arguments * * This doesn't make any sense if we're doing pure functional because * it do
src/lists.js:145
↓ 3 callersFunctionarrayAsList
* Converts an array to a list * * asList([a,b,c]) * * is equivalent to: * * cons(a, cons(b, cons(c, emptyList)))
src/lists.js:50
↓ 3 callersFunctioncallGetModule
(args)
test/require/require.js:1165
↓ 3 callersFunctioncleanRegistry
(id)
test/require/require.js:596
↓ 3 callersFunctiondayFromMonth
(year, month)
test/libs/es5-shim.js:845
↓ 3 callersFunctiondivide
(n)
test/libs/es5-shim.js:966
↓ 3 callersFunctionhasPathFallback
(id)
test/require/require.js:373
↓ 3 callersFunctioninstanceApi
* The instance API is the thing that is returned when oboe() is called. * it allows: * * - listeners for various events to be added and removed
src/instanceApi.js:13
↓ 3 callersFunctionisPrimitive
(input)
test/libs/es5-shim.js:1278
↓ 3 callersFunctionjsonPathCompiler
(pattern)
test/specs/instanceApi.component.spec.js:18
↓ 3 callersFunctionmap
* Map a function over a list
src/lists.js:84
↓ 3 callersFunctionmixin
* Simple function to mix in properties from source into target, * but only if target does not already have a property of the same name.
test/require/require.js:107
↓ 3 callersFunctionnewSingle
(eventName)
src/pubSub.js:43
↓ 3 callersFunctionpatternAdapter
* The pattern adaptor listens for newListener and removeListener * events. When patterns are added or removed it compiles the JSONPath * and wire
src/patternAdapter.js:14
↓ 3 callersFunctionreverseList
* Reverse the order of a list
src/lists.js:156
↓ 3 callersFunctionscripts
()
test/require/require.js:133
↓ 3 callersFunctionspiedPubSub
()
test/libs/spiedPubSub.js:4
↓ 3 callersFunctiontakeGlobalQueue
* Internal method to transfer globalQueue items to this context's * defQueue.
test/require/require.js:544
↓ 2 callersFunctionaddForgettableCallback
* Add a callback where, if .forget() is called during the callback's * execution, the callback will be de-registered
src/instanceApi.js:88
↓ 2 callersFunctionaddSingleNodeOrPathListener
(eventId, pattern, callback)
src/instanceApi.js:154
↓ 2 callersFunctionanAscentMatching
(pattern, json)
test/specs/patternAdaptor.unit.spec.js:179
↓ 2 callersFunctionappendBuiltContent
* Add a new value to the object we are building up to represent the * parsed JSON
src/incrementalContentBuilder.js:89
↓ 2 callersFunctionascentManager
* A bridge used to assign stateless functions to listen to clarinet. * * As well as the parameter from clarinet, each callback will also be passed
src/ascentManager.js:14
↓ 2 callersFunctioncheckLoaded
()
test/require/require.js:630
↓ 2 callersFunctionclarinet
(eventBus)
src/libs/clarinet.js:24
↓ 2 callersFunctionclearMe
()
test/specs/oboe.integration.spec.js:612
↓ 2 callersFunctionclearMe
()
test/specs/streamingHttp.integration.spec.js:487
↓ 2 callersFunctiondefined
* I don't like saying this: * * foo !=== undefined * * because of the double-negative. I find this: * * defined(foo) * * easier to read.
src/util.js:30
↓ 2 callersFunctiondoesDefinePropertyWork
(object)
test/libs/es5-sham.js:243
↓ 2 callersFunctiondoesGetOwnPropertyDescriptorWork
(object)
test/libs/es5-sham.js:54
↓ 2 callersFunctioneachReverse
* Helper function for iterating over an array backwards. If the func * returns a true value, it will break out of the loop.
test/require/require.js:68
↓ 2 callersFunctionfoldR1
* foldR implementation. Reduce a list down to a single value. * * @pram {Function} fn (rightEval, curVal) -> result
src/lists.js:106
↓ 2 callersFunctionfunctor
* Create a function which always returns the same * value * * var return3 = functor(3); * * return3() // gives 3 * return3() // still gives 3 * return
src/functional.js:232
↓ 2 callersFunctiongaveFinalCallbackWithRootJson
(expected)
test/libs/oboeAsserter.js:254
↓ 2 callersFunctiongetGlobal
(value)
test/require/require.js:143
↓ 2 callersFunctiongetScriptData
* Given an event from a script node, get the requirejs info from it, * and then removes the event listeners on the node. * @param {E
test/require/require.js:1193
↓ 2 callersFunctionhasId
(id)
src/singleEventPubSub.js:26
next →1–100 of 243, ranked by callers