Skip to content

Commit faf584a

Browse files
committed
[bug fix] inflection.transform in ES6
1 parent 45bb94c commit faf584a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

inflection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/inflection.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,8 +1065,8 @@
10651065
for( ;i < j; i++ ){
10661066
var method = arr[ i ];
10671067

1068-
if( this.hasOwnProperty( method )){
1069-
str = this[ method ]( str );
1068+
if( inflector.hasOwnProperty( method )){
1069+
str = inflector[ method ]( str );
10701070
}
10711071
}
10721072

@@ -1077,7 +1077,7 @@
10771077
/**
10781078
* @public
10791079
*/
1080-
inflector.version = '1.10.0';
1080+
inflector.version = '1.11.0';
10811081

10821082
return inflector;
10831083
}));

0 commit comments

Comments
 (0)