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