Files
coffeescript/documentation/js/prototypes.js
Jeremy Ashkenas 485346f0e5 CoffeeScript 0.6.2
2010-05-15 01:18:05 -04:00

6 lines
104 B
JavaScript

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