mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-15 01:38:13 -05:00
6 lines
114 B
JavaScript
6 lines
114 B
JavaScript
(function(){
|
|
String.prototype.dasherize = function dasherize() {
|
|
return this.replace(/_/g, "-");
|
|
};
|
|
})();
|