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