6 lines
114 B
JavaScript
6 lines
114 B
JavaScript
![]() |
(function(){
|
||
|
String.prototype.dasherize = function dasherize() {
|
||
|
return this.replace(/_/g, "-");
|
||
|
};
|
||
|
})();
|