nl_tokens: / * Specifies a new acronym . An acronym must be specified as it will appear in a camelized string . An underscore string that contains the acronym will retain the acronym when passed to %camelize% %humanize% or %titleize% . A camelized string that contains the acronym will maintain the acronym when titleized or humanized and will convert the acronym into a non - delimited single lowercase word when passed to String#underscore .
pl_tokens: function ( word ) { acronyms [ word . toLowerCase ( ) ] = <mask> ; var all = object . keys ( acronyms ) . map ( function ( key ) { return acronyms [ key ] ; } ) ; Inflector . acronymRegExp = regexp ( all . join ( '|' ) , 'g' ) ; }