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