1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/coffee/prototypes.coffee

4 lines
49 B
CoffeeScript
Raw Normal View History

2010-07-29 00:51:35 -04:00
String::dasherize = ->
2010-12-12 21:41:04 -05:00
this.replace /_/g, "-"