mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
5 lines
104 B
JavaScript
5 lines
104 B
JavaScript
(function(){
|
|
String.prototype.dasherize = function() {
|
|
return this.replace(/_/g, "-");
|
|
};
|
|
})();
|