Files
coffeescript/documentation/js/prototypes.js
2010-07-29 00:51:35 -04:00

3 lines
78 B
JavaScript

String.prototype.dasherize = function() {
return this.replace(/_/g, "-");
};