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