This commit is contained in:
Tony Tam
2015-07-22 18:14:18 -07:00
6 changed files with 12 additions and 8 deletions

View File

@@ -257,7 +257,7 @@ window.SwaggerUi.Views = {};
});
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like enviroments that support module.exports,
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require('b'));
} else {