Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCai1111 committed Apr 9, 2015
1 parent 4b15c16 commit 4dee1bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ var dr = require('dir-requirer')(__dirname);
|-- c.json
```

### var dr = require('dir-requirer')(__dirname);
### dr(path,options)

__参数:__
Expand All @@ -64,7 +63,7 @@ __options可选属性:__

* `ext(Array)` - 只导入指定扩展名的文件,如['.json'],默认为['.js','.json','.node']
* `dirBlackList(Array)` - 不导入指定目录名下的所有文件,如['inner2'],默认为[]
* `fileBlackList(Array)` - 不导入指定文件,如['4.js'],默认为[]
* `fileBlackList(Array)` - 不导入指定文件,如['e.js'],默认为[]

### 例子:

Expand Down

0 comments on commit 4dee1bf

Please sign in to comment.