Skip to content

Commit

Permalink
Util.js: removes unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbrokke committed Aug 18, 2020
1 parent 7bdf39e commit ec07847
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions lib/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ Util.prototype = {
}
},

getConfigurationString: function(token) {
return this.stripOuterCurlyBraces(this.getArray(token)[1]);
},

getMethodName: function(token) {
return this.getArray(token)[0];
},
Expand Down Expand Up @@ -110,28 +106,13 @@ Util.prototype = {
});
},

splitByComma: function(s) {
return s.split(',');
},

splitByColon: function(s) {
return s.split(':');
},

stripAmpersands: function(token) {
token = _.trimStart(token, this.startToken);
token = _.trimEnd(token, this.endToken);

return token;
},

stripOuterCurlyBraces: function(s) {
s = _.trimStart(s, '{');
s = _.trimEnd(s, '}');

return s;
},

stripWhitespace: function(s) {
return s.replace(/ /g, '');
},
Expand Down

0 comments on commit ec07847

Please sign in to comment.