• Home
  • Raw
  • Download

Lines Matching refs:require

5 function require(p){  function
6 var path = require.resolve(p)
7 , mod = require.modules[path];
11 mod.call(mod.exports, mod, mod.exports, require.relative(path));
16 require.modules = {};
18 require.resolve = function (path){
22 return require.modules[reg] && reg
23 || require.modules[index] && index
27 require.register = function (path, fn){
28 require.modules[path] = fn;
31 require.relative = function (parent) {
33 if ('.' != p.charAt(0)) return require(p);
45 return require(path.join('/'));
50 require.register("browser/debug.js", function(module, exports, require){ argument
58 require.register("browser/diff.js", function(module, exports, require){ argument
431 require.register("browser/escape-string-regexp.js", function(module, exports, require){ argument
446 require.register("browser/events.js", function(module, exports, require){ argument
627 require.register("browser/fs.js", function(module, exports, require){ argument
631 require.register("browser/glob.js", function(module, exports, require){ argument
635 require.register("browser/path.js", function(module, exports, require){ argument
639 require.register("browser/progress.js", function(module, exports, require){ argument
768 require.register("browser/tty.js", function(module, exports, require){ argument
784 require.register("context.js", function(module, exports, require){ argument
883 require.register("hook.js", function(module, exports, require){ argument
888 var Runnable = require('./runnable');
939 require.register("interfaces/bdd.js", function(module, exports, require){ argument
944 var Suite = require('../suite')
945 , Test = require('../test')
946 , utils = require('../utils')
947 , escapeRe = require('browser/escape-string-regexp');
971 var common = require('./common')(suites, context);
1058 require.register("interfaces/common.js", function(module, exports, require){ argument
1120 require.register("interfaces/exports.js", function(module, exports, require){ argument
1125 var Suite = require('../suite')
1126 , Test = require('../test');
1185 require.register("interfaces/index.js", function(module, exports, require){ argument
1186 exports.bdd = require('./bdd');
1187 exports.tdd = require('./tdd');
1188 exports.qunit = require('./qunit');
1189 exports.exports = require('./exports');
1193 require.register("interfaces/qunit.js", function(module, exports, require){ argument
1198 var Suite = require('../suite')
1199 , Test = require('../test')
1200 , escapeRe = require('browser/escape-string-regexp')
1201 , utils = require('../utils');
1233 var common = require('./common')(suites, context);
1291 require.register("interfaces/tdd.js", function(module, exports, require){ argument
1296 var Suite = require('../suite')
1297 , Test = require('../test')
1298 , escapeRe = require('browser/escape-string-regexp')
1299 , utils = require('../utils');
1331 var common = require('./common')(suites, context);
1404 require.register("mocha.js", function(module, exports, require){ argument
1415 var path = require('browser/path')
1416 , escapeRe = require('browser/escape-string-regexp')
1417 , utils = require('./utils');
1440 exports.interfaces = require('./interfaces');
1441 exports.reporters = require('./reporters');
1442 exports.Runnable = require('./runnable');
1443 exports.Context = require('./context');
1444 exports.Runner = require('./runner');
1445 exports.Suite = require('./suite');
1446 exports.Hook = require('./hook');
1447 exports.Test = require('./test');
1550 try { _reporter = require('./reporters/' + reporter); } catch (err) {}
1551 if (!_reporter) try { _reporter = require(reporter); } catch (err) {}
1573 if (!this._ui) try { this._ui = require(name); } catch (err) {}
1592 suite.emit('require', require(file), file, self);
1605 var notify = require('growl');
1850 require.register("ms.js", function(module, exports, require){ argument
1963 require.register("pending.js", function(module, exports, require){ argument
1983 require.register("reporters/base.js", function(module, exports, require){ argument
1988 var tty = require('browser/tty')
1989 , diff = require('browser/diff')
1990 , ms = require('../ms')
1991 , utils = require('../utils')
1992 , supportsColor = process.env ? require('supports-color') : null;
2446 require.register("reporters/doc.js", function(module, exports, require){ argument
2451 var Base = require('./base')
2452 , utils = require('../utils');
2512 require.register("reporters/dot.js", function(module, exports, require){ argument
2517 var Base = require('./base')
2582 require.register("reporters/html-cov.js", function(module, exports, require){ argument
2587 var JSONCov = require('./json-cov')
2588 , fs = require('browser/fs');
2604 var jade = require('jade')
2636 require.register("reporters/html.js", function(module, exports, require){ argument
2641 var Base = require('./base')
2642 , utils = require('../utils')
2643 , Progress = require('../browser/progress')
2927 require.register("reporters/index.js", function(module, exports, require){ argument
2928 exports.Base = require('./base');
2929 exports.Dot = require('./dot');
2930 exports.Doc = require('./doc');
2931 exports.TAP = require('./tap');
2932 exports.JSON = require('./json');
2933 exports.HTML = require('./html');
2934 exports.List = require('./list');
2935 exports.Min = require('./min');
2936 exports.Spec = require('./spec');
2937 exports.Nyan = require('./nyan');
2938 exports.XUnit = require('./xunit');
2939 exports.Markdown = require('./markdown');
2940 exports.Progress = require('./progress');
2941 exports.Landing = require('./landing');
2942 exports.JSONCov = require('./json-cov');
2943 exports.HTMLCov = require('./html-cov');
2944 exports.JSONStream = require('./json-stream');
2948 require.register("reporters/json-cov.js", function(module, exports, require){ argument
2953 var Base = require('./base');
3104 require.register("reporters/json-stream.js", function(module, exports, require){ argument
3109 var Base = require('./base')
3170 require.register("reporters/json.js", function(module, exports, require){ argument
3175 var Base = require('./base')
3266 require.register("reporters/landing.js", function(module, exports, require){ argument
3271 var Base = require('./base')
3370 require.register("reporters/list.js", function(module, exports, require){ argument
3375 var Base = require('./base')
3441 require.register("reporters/markdown.js", function(module, exports, require){ argument
3446 var Base = require('./base')
3447 , utils = require('../utils');
3545 require.register("reporters/min.js", function(module, exports, require){ argument
3550 var Base = require('./base');
3590 require.register("reporters/nyan.js", function(module, exports, require){ argument
3595 var Base = require('./base');
3858 require.register("reporters/progress.js", function(module, exports, require){ argument
3863 var Base = require('./base')
3958 require.register("reporters/spec.js", function(module, exports, require){ argument
3963 var Base = require('./base')
4048 require.register("reporters/tap.js", function(module, exports, require){ argument
4053 var Base = require('./base')
4124 require.register("reporters/xunit.js", function(module, exports, require){ argument
4129 var Base = require('./base')
4130 , utils = require('../utils')
4131 , fs = require('browser/fs')
4281 require.register("runnable.js", function(module, exports, require){ argument
4286 var EventEmitter = require('browser/events').EventEmitter
4287 , debug = require('browser/debug')('mocha:runnable')
4288 , Pending = require('./pending')
4289 , milliseconds = require('./ms')
4290 , utils = require('./utils');
4569 require.register("runner.js", function(module, exports, require){ argument
4574 var EventEmitter = require('browser/events').EventEmitter
4575 , debug = require('browser/debug')('mocha:runner')
4576 , Pending = require('./pending')
4577 , Test = require('./test')
4578 , utils = require('./utils')
5293 require.register("suite.js", function(module, exports, require){ argument
5298 var EventEmitter = require('browser/events').EventEmitter
5299 , debug = require('browser/debug')('mocha:suite')
5300 , milliseconds = require('./ms')
5301 , utils = require('./utils')
5302 , Hook = require('./hook');
5656 require.register("test.js", function(module, exports, require){ argument
5661 var Runnable = require('./runnable');
5695 require.register("utils.js", function(module, exports, require){ argument
5700 var fs = require('browser/fs')
5701 , path = require('browser/path')
5704 , glob = require('browser/glob')
5706 , debug = require('browser/debug')('mocha:watch');
6458 var Mocha = global.Mocha = require('mocha'),