jashkenas--coffeescript/documentation/coffee/prototypes.coffee

2 lines
47 B
CoffeeScript
Raw Normal View History

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