fix tests
This commit is contained in:
parent
c5378b54e1
commit
38dc22b421
2 changed files with 9 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
define(function() {
|
||||
define(function(require, exports, module) {
|
||||
var require = function (file, cwd) {
|
||||
var resolved = require.resolve(file, cwd || '/');
|
||||
var mod = require.modules[resolved];
|
||||
|
|
@ -143,7 +143,7 @@ require.alias = function (from, to) {
|
|||
var global = typeof window !== 'undefined' ? window : {};
|
||||
var definedProcess = false;
|
||||
|
||||
require.define = function (filename, fn) {
|
||||
require.def = function (filename, fn) {
|
||||
if (!definedProcess && require.modules.__browserify_process) {
|
||||
process = require.modules.__browserify_process();
|
||||
definedProcess = true;
|
||||
|
|
@ -7890,5 +7890,6 @@ if (typeof exports === "object" && exports) {
|
|||
});
|
||||
req("/src/stable/jshint.js");
|
||||
|
||||
function req() {return require.apply(this, arguments)}module.exports = req("/src/stable/jshint.js");
|
||||
})
|
||||
function req() {return require.apply(this, arguments)}
|
||||
module.exports = req("/src/stable/jshint.js");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue