/documentation/js/prototypes.js

http://github.com/jashkenas/coffee-script · JavaScript · 4 lines · 3 code · 0 blank · 1 comment · 0 complexity · e9421728eec85864f9ae0845e4444402 MD5 · raw file

  1. // Generated by CoffeeScript 1.10.0
  2. String.prototype.dasherize = function() {
  3. return this.replace(/_/g, "-");
  4. };