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

6 lines
114 B
JavaScript
Raw Normal View History

2010-02-28 01:12:47 +00:00
(function(){
String.prototype.dasherize = function dasherize() {
return this.replace(/_/g, "-");
};
})();