| OLD | NEW |
| 1 ;(function(){ | 1 ;(function(){ |
| 2 | 2 |
| 3 // CommonJS require() | 3 // CommonJS require() |
| 4 | 4 |
| 5 function require(p){ | 5 function require(p){ |
| 6 var path = require.resolve(p) | 6 var path = require.resolve(p) |
| 7 , mod = require.modules[path]; | 7 , mod = require.modules[path]; |
| 8 if (!mod) throw new Error('failed to require "' + p + '"'); | 8 if (!mod) throw new Error('failed to require "' + p + '"'); |
| 9 if (!mod.exports) { | 9 if (!mod.exports) { |
| 10 mod.exports = {}; | 10 mod.exports = {}; |
| (...skipping 5822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5833 if (fn) fn(); | 5833 if (fn) fn(); |
| 5834 }); | 5834 }); |
| 5835 }; | 5835 }; |
| 5836 | 5836 |
| 5837 /** | 5837 /** |
| 5838 * Expose the process shim. | 5838 * Expose the process shim. |
| 5839 */ | 5839 */ |
| 5840 | 5840 |
| 5841 Mocha.process = process; | 5841 Mocha.process = process; |
| 5842 })(); | 5842 })(); |
| OLD | NEW |