MCPcopy Index your code

hub / github.com/addyosmani/yt-jukebox / functions

Functions113 in github.com/addyosmani/yt-jukebox

↓ 91 callersFunctionrequire
(p)
test/lib/mocha/mocha.js:6
↓ 41 callersFunctionrequire
(p)
test/lib/chai.js:13
↓ 19 callersFunctionwrite
* Stdout helper.
test/lib/mocha/mocha.js:3356
↓ 13 callersFunctionindent
()
test/lib/mocha/mocha.js:2061
↓ 10 callersFunctionescape
* Escape the given `str`.
test/lib/mocha/mocha.js:3692
↓ 9 callersFunctionfragment
* Return a DOM fragment from `html`.
test/lib/mocha/mocha.js:2408
↓ 7 callersFunctiondone
(err)
test/lib/mocha/mocha.js:4015
↓ 6 callersFunctionmountFolder
(connect, dir)
Gruntfile.js:4
↓ 6 callersFunctiontag
* HTML tag helper.
test/lib/mocha/mocha.js:3806
↓ 4 callersFunctionisArray
* Check if `obj` is an array.
test/lib/mocha/mocha.js:363
↓ 4 callersFunctionobjectToString
(o)
test/lib/chai.js:3561
↓ 4 callersFunctiontitle
(str)
test/lib/mocha/mocha.js:2995
↓ 3 callersFunctioncontextLines
(lines)
test/lib/mocha/mocha.js:251
↓ 3 callersFunctiondraw
(color, n)
test/lib/mocha/mocha.js:3193
↓ 3 callersFunctionformatProperty
(ctx, value, recurseTimes, visibleKeys, key, array)
test/lib/chai.js:3464
↓ 3 callersFunctionformatValue
(ctx, value, recurseTimes)
test/lib/chai.js:3307
↓ 3 callersFunctionisError
(e)
test/lib/chai.js:3557
↓ 3 callersFunctionisRegExp
(re)
test/lib/chai.js:3549
↓ 3 callersFunctionnext
(i)
test/lib/mocha/mocha.js:4285
↓ 3 callersFunctionon
()
test/lib/mocha/mocha.js:408
↓ 3 callersFunctionpluralize
(n)
test/lib/mocha/mocha.js:1937
↓ 3 callersFunctiontext
* Set `el` text to `str`.
test/lib/mocha/mocha.js:2451
↓ 2 callersFunction_deepEqual
(actual, expected, memos)
test/lib/chai.js:2791
↓ 2 callersFunctionclean
* Return a plain-object representation of `test` * free of cyclic properties etc. * * @param {Object} test * @return {Object} * @api private
test/lib/mocha/mocha.js:2643
↓ 2 callersFunctionclonePath
(path)
test/lib/mocha/mocha.js:78
↓ 2 callersFunctioncolorLines
* Color lines for `str`, using the color `name`. * * @param {String} name * @param {String} str * @return {String} * @api private
test/lib/mocha/mocha.js:2023
↓ 2 callersFunctioneofNL
(curRange, i, current)
test/lib/mocha/mocha.js:254
↓ 2 callersFunctionerrorDiff
* Return a character diff for `err`. * * @param {Error} err * @return {String} * @api private
test/lib/mocha/mocha.js:2000
↓ 2 callersFunctionformatError
(value)
test/lib/chai.js:3439
↓ 2 callersFunctiongenerateTOC
(suite)
test/lib/mocha/mocha.js:3026
↓ 2 callersFunctionhideSuitesWithout
* Check for suites that do not have elements * with `classname`, and hide them.
test/lib/mocha/mocha.js:2428
↓ 2 callersFunctionimage
* Return image `name` path. * * @param {String} name * @return {String} * @api private
test/lib/mocha/mocha.js:1284
↓ 2 callersFunctionisArguments
(object)
test/lib/chai.js:2831
↓ 2 callersFunctionisDate
(d)
test/lib/chai.js:3553
↓ 2 callersFunctionisUndefinedOrNull
(value)
test/lib/chai.js:2827
↓ 2 callersFunctionremoveEmpty
(array)
test/lib/mocha/mocha.js:81
↓ 2 callersFunctionrunway
()
test/lib/mocha/mocha.js:2843
↓ 2 callersFunctionunhide
* Unhide .hidden suites.
test/lib/mocha/mocha.js:2440
↓ 1 callersFunction_getPathValue
(parsed, obj)
test/lib/chai.js:3123
↓ 1 callersFunctioncdata
* Return cdata escaped CDATA `str`.
test/lib/mocha/mocha.js:3824
↓ 1 callersFunctioncoverage
* Map jscoverage data for a single source file * to a JSON structure suitable for reporting. * * @param {String} filename name of the source file
test/lib/mocha/mocha.js:2600
↓ 1 callersFunctionerror
* Display error `msg`.
test/lib/mocha/mocha.js:2400
↓ 1 callersFunctionescapeHTML
(s)
test/lib/mocha/mocha.js:90
↓ 1 callersFunctionfilterLeaks
* Filter leaks with the given globals flagged as `ok`. * * @param {Array} ok * @param {Array} globals * @return {Array} * @api private
test/lib/mocha/mocha.js:4584
↓ 1 callersFunctionformat
* Format the given `ms`. * * @param {Number} ms * @return {String} * @api public
test/lib/mocha/mocha.js:1633
↓ 1 callersFunctionformatArray
(ctx, value, recurseTimes, visibleKeys, keys)
test/lib/chai.js:3444
↓ 1 callersFunctionformatPrimitive
(ctx, value)
test/lib/chai.js:3415
↓ 1 callersFunctiongetOuterHTML
(element)
test/lib/chai.js:3278
↓ 1 callersFunctionhighlight
* Highlight the given string of `js`. * * @param {String} js * @return {String} * @api private
test/lib/mocha/mocha.js:5200
↓ 1 callersFunctioninspect
* Echos the value of a value. Trys to print the value out * in the best way possible given the different types. * * @param {Object} obj
test/lib/chai.js:3268
↓ 1 callersFunctionisArray
(ar)
test/lib/chai.js:3544
↓ 1 callersFunctionisDOMElement
(object)
test/lib/chai.js:3296
↓ 1 callersFunctionmap
* Map jscoverage data to a JSON structure * suitable for reporting. * * @param {Object} cov * @return {Object} * @api private
test/lib/mocha/mocha.js:2561
↓ 1 callersFunctionmapTOC
(suite, obj)
test/lib/mocha/mocha.js:3003
↓ 1 callersFunctionmultiple
(err)
test/lib/mocha/mocha.js:4008
↓ 1 callersFunctionobjEquiv
(a, b, memos)
test/lib/chai.js:2835
↓ 1 callersFunctionpad
* Pad the given `str` to `len`. * * @param {String} str * @param {String} len * @return {String} * @api private
test/lib/mocha/mocha.js:1987
↓ 1 callersFunctionparse
* Parse the given `str` and return milliseconds. * * @param {String} str * @return {Number} * @api private
test/lib/mocha/mocha.js:1594
↓ 1 callersFunctionparsePath
(path)
test/lib/chai.js:3098
↓ 1 callersFunctionreduceToSingleString
(output, base, braces)
test/lib/chai.js:3524
↓ 1 callersFunctionstringifyTOC
(obj, level)
test/lib/mocha/mocha.js:3012
FunctionAssertion
(obj, msg, stack)
test/lib/chai.js:177
FunctionAssertionError
* # AssertionError (constructor) * * Create a new assertion error based on the Javascript * `Error` prototype. * * **Options*
test/lib/chai.js:1496
FunctionBase
* Initialize a new `Base` reporter. * * All other reporters generally * inherit from this reporter, providing * stats such as test duration, numbe
test/lib/mocha/mocha.js:1869
FunctionContext
* Initialize a new `Context`. * * @api private
test/lib/mocha/mocha.js:694
FunctionDoc
* Initialize a new `Doc` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2053
FunctionDot
* Initialize a new `Dot` matrix test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2113
FunctionEventEmitter
* Event emitter constructor. * * @api public
test/lib/mocha/mocha.js:373
FunctionF
* Inherit from `Runnable.prototype`.
test/lib/mocha/mocha.js:784
FunctionHTML
* Initialize a new `Doc` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2259
FunctionHTMLCov
* Initialize a new `JsCoverage` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2182
FunctionHook
* Initialize a new `Hook` with the given `title` and callback `fn`. * * @param {String} title * @param {Function} fn * @api private
test/lib/mocha/mocha.js:775
FunctionJSONCov
* Initialize a new `JsCoverage` reporter. * * @param {Runner} runner * @param {Boolean} output * @api public
test/lib/mocha/mocha.js:2518
FunctionJSONReporter
* Initialize a new `JSON` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2740
FunctionLanding
* Initialize a new `Landing` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2831
FunctionList
* Initialize a new `List` test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2675
FunctionMarkdown
* Initialize a new `Markdown` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2987
FunctionMin
* Initialize a new `Min` minimal test reporter (best used with --watch). * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3081
FunctionMocha
* Setup mocha with `options`. * * Options: * * - `ui` name "bdd", "tdd", "exports" etc * - `reporter` reporter instance, defaults to `mocha.r
test/lib/mocha/mocha.js:1306
FunctionNyanCat
* Initialize a new `Dot` matrix test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3127
FunctionProgress
* Initialize a new `Progress` indicator.
test/lib/mocha/mocha.js:552
FunctionRunnable
* Initialize a new `Runnable` with the given `title` and callback `fn`. * * @param {String} title * @param {Function} fn * @api private
test/lib/mocha/mocha.js:3870
FunctionRunner
* Initialize a `Runner` for the given `suite`. * * Events: * * - `start` execution started * - `end` execution complete * - `suite` (su
test/lib/mocha/mocha.js:4109
FunctionSpec
* Initialize a new `Spec` test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3489
FunctionSuite
* Initialize a new `Suite` with the given * `title` and `ctx`. * * @param {String} title * @param {Context} ctx * @api private
test/lib/mocha/mocha.js:4647
FunctionTAP
* Initialize a new `TAP` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3584
FunctionTeamcity
* Initialize a new `Teamcity` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3659
FunctionTest
* Initialize a new `Test` with the given `title` and callback `fn`. * * @param {String} title * @param {Function} fn * @api private
test/lib/mocha/mocha.js:4924
FunctionXUnit
* Initialize a new `XUnit` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3740
Function_super
()
test/lib/chai.js:3657
Functionan
* ### .a(type) * * The `a` and `an` assertions are aliases that can be * used either as language chains or to assert a value's
test/lib/chai.js:373
Functionassert
()
test/lib/chai.js:2665
FunctionassertAbove
* ### .above(value) * * Asserts that the target is greater than `value`. * * expect(10).to.be.above(5); *
test/lib/chai.js:706
FunctionassertBelow
* ### .below(value) * * Asserts that the target is less than `value`. * * expect(5).to.be.below(10); * *
test/lib/chai.js:802
FunctionassertEqual
* ### .equal(value) * * Asserts that the target is strictly equal (`===`) to `value`. * Alternately, if the `deep` flag is set, a
test/lib/chai.js:636
FunctionassertInstanceOf
* ### .instanceof(constructor) * * Asserts that the target is an instance of `constructor`. * * var Tea = function (na
test/lib/chai.js:936
FunctionassertKeys
* ### .keys(key1, [key2], [...]) * * Asserts that the target has exactly the given keys, or * asserts the inclusion of some keys
test/lib/chai.js:1184
FunctionassertLeast
* ### .least(value) * * Asserts that the target is greater than or equal to `value`. * * expect(10).to.be.at.least(10)
test/lib/chai.js:754
FunctionassertLength
(n, msg)
test/lib/chai.js:1101
FunctionassertLengthChain
* ### .length(value) * * Asserts that the target's `length` property has * the expected value. * * expect([ 1,
test/lib/chai.js:1097
next →1–100 of 113, ranked by callers