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