Skip to content

Commit

Permalink
trims outer whitespace of method name
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbrokke committed Feb 13, 2016
1 parent 1155c0f commit a0e9232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ TokenReplacer.prototype = {
},

getMethodName: function(token) {
return this.getArray(token)[0];
return this.trimOuterWhitespace(this.getArray(token)[0]);
},

processString: function(s) {
Expand Down

0 comments on commit a0e9232

Please sign in to comment.