Permalink
Browse files

Core: Added function to strip whitespace.

  • Loading branch information...
thomasgohard committed May 22, 2015
1 parent c0e4dbe commit d94dde05bc150bdfedb45c6cd12db53fc0dfc94d
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/wb.js
View
@@ -380,6 +380,10 @@ var getUrlParts = function( url ) {
}
return hash;
},
stripWhitespace: function( str ) {
return str.replace( /\s+/g, "" );
}
};

0 comments on commit d94dde0

Please sign in to comment.