jashkenas--coffeescript/documentation/js/prototypes.js

6 lines
104 B
JavaScript

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