Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

taobao.js

  • Loading branch information...
commit fcb646d85d5bb1a1eca9293b860c3590cd503ac0 1 parent 87452a5
root authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 taobao.js
View
4 taobao.js
@@ -22,9 +22,9 @@ fs.readdirSync(__dirname + '/lib').forEach(function(filename){
if (!/\.js$/.test(filename)) return;
var name = path.basename(filename, '.js'),
- exludeFiles = ['core', 'error', 'helper'];
+ excludeFiles = ['core', 'error', 'helper'];
- if (~excludeFiles.indexOf(name)) {
+ if (!~excludeFiles.indexOf(name)) {
_.extend(module.exports, require('./lib/' + name));
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.