Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/addyosmani/yt-jukebox
/ functions
Functions
113 in github.com/addyosmani/yt-jukebox
⨍
Functions
113
◇
Types & classes
0
↓ 91 callers
Function
require
(p)
test/lib/mocha/mocha.js:6
↓ 41 callers
Function
require
(p)
test/lib/chai.js:13
↓ 19 callers
Function
write
* Stdout helper.
test/lib/mocha/mocha.js:3356
↓ 13 callers
Function
indent
()
test/lib/mocha/mocha.js:2061
↓ 10 callers
Function
escape
* Escape the given `str`.
test/lib/mocha/mocha.js:3692
↓ 9 callers
Function
fragment
* Return a DOM fragment from `html`.
test/lib/mocha/mocha.js:2408
↓ 7 callers
Function
done
(err)
test/lib/mocha/mocha.js:4015
↓ 6 callers
Function
mountFolder
(connect, dir)
Gruntfile.js:4
↓ 6 callers
Function
tag
* HTML tag helper.
test/lib/mocha/mocha.js:3806
↓ 4 callers
Function
isArray
* Check if `obj` is an array.
test/lib/mocha/mocha.js:363
↓ 4 callers
Function
objectToString
(o)
test/lib/chai.js:3561
↓ 4 callers
Function
title
(str)
test/lib/mocha/mocha.js:2995
↓ 3 callers
Function
contextLines
(lines)
test/lib/mocha/mocha.js:251
↓ 3 callers
Function
draw
(color, n)
test/lib/mocha/mocha.js:3193
↓ 3 callers
Function
formatProperty
(ctx, value, recurseTimes, visibleKeys, key, array)
test/lib/chai.js:3464
↓ 3 callers
Function
formatValue
(ctx, value, recurseTimes)
test/lib/chai.js:3307
↓ 3 callers
Function
isError
(e)
test/lib/chai.js:3557
↓ 3 callers
Function
isRegExp
(re)
test/lib/chai.js:3549
↓ 3 callers
Function
next
(i)
test/lib/mocha/mocha.js:4285
↓ 3 callers
Function
on
()
test/lib/mocha/mocha.js:408
↓ 3 callers
Function
pluralize
(n)
test/lib/mocha/mocha.js:1937
↓ 3 callers
Function
text
* Set `el` text to `str`.
test/lib/mocha/mocha.js:2451
↓ 2 callers
Function
_deepEqual
(actual, expected, memos)
test/lib/chai.js:2791
↓ 2 callers
Function
clean
* 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 callers
Function
clonePath
(path)
test/lib/mocha/mocha.js:78
↓ 2 callers
Function
colorLines
* 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 callers
Function
eofNL
(curRange, i, current)
test/lib/mocha/mocha.js:254
↓ 2 callers
Function
errorDiff
* Return a character diff for `err`. * * @param {Error} err * @return {String} * @api private
test/lib/mocha/mocha.js:2000
↓ 2 callers
Function
formatError
(value)
test/lib/chai.js:3439
↓ 2 callers
Function
generateTOC
(suite)
test/lib/mocha/mocha.js:3026
↓ 2 callers
Function
hideSuitesWithout
* Check for suites that do not have elements * with `classname`, and hide them.
test/lib/mocha/mocha.js:2428
↓ 2 callers
Function
image
* Return image `name` path. * * @param {String} name * @return {String} * @api private
test/lib/mocha/mocha.js:1284
↓ 2 callers
Function
isArguments
(object)
test/lib/chai.js:2831
↓ 2 callers
Function
isDate
(d)
test/lib/chai.js:3553
↓ 2 callers
Function
isUndefinedOrNull
(value)
test/lib/chai.js:2827
↓ 2 callers
Function
removeEmpty
(array)
test/lib/mocha/mocha.js:81
↓ 2 callers
Function
runway
()
test/lib/mocha/mocha.js:2843
↓ 2 callers
Function
unhide
* Unhide .hidden suites.
test/lib/mocha/mocha.js:2440
↓ 1 callers
Function
_getPathValue
(parsed, obj)
test/lib/chai.js:3123
↓ 1 callers
Function
cdata
* Return cdata escaped CDATA `str`.
test/lib/mocha/mocha.js:3824
↓ 1 callers
Function
coverage
* 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 callers
Function
error
* Display error `msg`.
test/lib/mocha/mocha.js:2400
↓ 1 callers
Function
escapeHTML
(s)
test/lib/mocha/mocha.js:90
↓ 1 callers
Function
filterLeaks
* 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 callers
Function
format
* Format the given `ms`. * * @param {Number} ms * @return {String} * @api public
test/lib/mocha/mocha.js:1633
↓ 1 callers
Function
formatArray
(ctx, value, recurseTimes, visibleKeys, keys)
test/lib/chai.js:3444
↓ 1 callers
Function
formatPrimitive
(ctx, value)
test/lib/chai.js:3415
↓ 1 callers
Function
getOuterHTML
(element)
test/lib/chai.js:3278
↓ 1 callers
Function
highlight
* Highlight the given string of `js`. * * @param {String} js * @return {String} * @api private
test/lib/mocha/mocha.js:5200
↓ 1 callers
Function
inspect
* 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 callers
Function
isArray
(ar)
test/lib/chai.js:3544
↓ 1 callers
Function
isDOMElement
(object)
test/lib/chai.js:3296
↓ 1 callers
Function
map
* Map jscoverage data to a JSON structure * suitable for reporting. * * @param {Object} cov * @return {Object} * @api private
test/lib/mocha/mocha.js:2561
↓ 1 callers
Function
mapTOC
(suite, obj)
test/lib/mocha/mocha.js:3003
↓ 1 callers
Function
multiple
(err)
test/lib/mocha/mocha.js:4008
↓ 1 callers
Function
objEquiv
(a, b, memos)
test/lib/chai.js:2835
↓ 1 callers
Function
pad
* Pad the given `str` to `len`. * * @param {String} str * @param {String} len * @return {String} * @api private
test/lib/mocha/mocha.js:1987
↓ 1 callers
Function
parse
* Parse the given `str` and return milliseconds. * * @param {String} str * @return {Number} * @api private
test/lib/mocha/mocha.js:1594
↓ 1 callers
Function
parsePath
(path)
test/lib/chai.js:3098
↓ 1 callers
Function
reduceToSingleString
(output, base, braces)
test/lib/chai.js:3524
↓ 1 callers
Function
stringifyTOC
(obj, level)
test/lib/mocha/mocha.js:3012
Function
Assertion
(obj, msg, stack)
test/lib/chai.js:177
Function
AssertionError
* # AssertionError (constructor) * * Create a new assertion error based on the Javascript * `Error` prototype. * * **Options*
test/lib/chai.js:1496
Function
Base
* 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
Function
Context
* Initialize a new `Context`. * * @api private
test/lib/mocha/mocha.js:694
Function
Doc
* Initialize a new `Doc` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2053
Function
Dot
* Initialize a new `Dot` matrix test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2113
Function
EventEmitter
* Event emitter constructor. * * @api public
test/lib/mocha/mocha.js:373
Function
F
* Inherit from `Runnable.prototype`.
test/lib/mocha/mocha.js:784
Function
HTML
* Initialize a new `Doc` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2259
Function
HTMLCov
* Initialize a new `JsCoverage` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2182
Function
Hook
* 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
Function
JSONCov
* Initialize a new `JsCoverage` reporter. * * @param {Runner} runner * @param {Boolean} output * @api public
test/lib/mocha/mocha.js:2518
Function
JSONReporter
* Initialize a new `JSON` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2740
Function
Landing
* Initialize a new `Landing` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2831
Function
List
* Initialize a new `List` test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2675
Function
Markdown
* Initialize a new `Markdown` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:2987
Function
Min
* Initialize a new `Min` minimal test reporter (best used with --watch). * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3081
Function
Mocha
* Setup mocha with `options`. * * Options: * * - `ui` name "bdd", "tdd", "exports" etc * - `reporter` reporter instance, defaults to `mocha.r
test/lib/mocha/mocha.js:1306
Function
NyanCat
* Initialize a new `Dot` matrix test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3127
Function
Progress
* Initialize a new `Progress` indicator.
test/lib/mocha/mocha.js:552
Function
Runnable
* 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
Function
Runner
* Initialize a `Runner` for the given `suite`. * * Events: * * - `start` execution started * - `end` execution complete * - `suite` (su
test/lib/mocha/mocha.js:4109
Function
Spec
* Initialize a new `Spec` test reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3489
Function
Suite
* Initialize a new `Suite` with the given * `title` and `ctx`. * * @param {String} title * @param {Context} ctx * @api private
test/lib/mocha/mocha.js:4647
Function
TAP
* Initialize a new `TAP` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3584
Function
Teamcity
* Initialize a new `Teamcity` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3659
Function
Test
* 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
Function
XUnit
* Initialize a new `XUnit` reporter. * * @param {Runner} runner * @api public
test/lib/mocha/mocha.js:3740
Function
_super
()
test/lib/chai.js:3657
Function
an
* ### .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
Function
assert
()
test/lib/chai.js:2665
Function
assertAbove
* ### .above(value) * * Asserts that the target is greater than `value`. * * expect(10).to.be.above(5); *
test/lib/chai.js:706
Function
assertBelow
* ### .below(value) * * Asserts that the target is less than `value`. * * expect(5).to.be.below(10); * *
test/lib/chai.js:802
Function
assertEqual
* ### .equal(value) * * Asserts that the target is strictly equal (`===`) to `value`. * Alternately, if the `deep` flag is set, a
test/lib/chai.js:636
Function
assertInstanceOf
* ### .instanceof(constructor) * * Asserts that the target is an instance of `constructor`. * * var Tea = function (na
test/lib/chai.js:936
Function
assertKeys
* ### .keys(key1, [key2], [...]) * * Asserts that the target has exactly the given keys, or * asserts the inclusion of some keys
test/lib/chai.js:1184
Function
assertLeast
* ### .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
Function
assertLength
(n, msg)
test/lib/chai.js:1101
Function
assertLengthChain
* ### .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