Skip to content

Commit

Permalink
substring && remove sth
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 committed Nov 9, 2015
1 parent 4d0ff1d commit 1414fcf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions History.md
@@ -1,7 +1,3 @@
1.9.0 / 2015-11-07
==================

* feat: add option `lowercaseFirst`

1.8.0 / 2015-07-29
==================
Expand Down
2 changes: 1 addition & 1 deletion lib/mods.js
Expand Up @@ -53,7 +53,7 @@ module.exports = function getMods(dirpath, opt) {
});

if (lowercaseFirst) {
result = result[0].toLowerCase() + result.substr(1);
result = result[0].toLowerCase() + result.substring(1);
}
return result;
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "loading",
"version": "1.9.0",
"version": "1.8.0",
"description": "loading dir files as module to an object",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1414fcf

Please sign in to comment.