~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to phabricator/webroot/rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-01-29 00:15:58 UTC
  • mfrom: (0.14.1) (0.13.1) (0.10.2) (2.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20150129001558-7qklhtcc043y9mog
Tags: 0~git20150129-1
* New snapshot release
* restricted access to local config file (closes: #775479)
* moved local config file to /var/lib/phabricator (closes: #775478)
* switched mysql-server dependency to recommends (closes: #773536)
* use /run instead of /var/run (closes: #775803)
* prevent package reinstall from overwritting local changes (closes: #776288)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
      return ('' + str)
18
18
        .toLocaleLowerCase()
19
19
        .replace(/[\.,\/#!$%\^&\*;:{}=_`~()]/g, '')
20
 
        .replace(/-/g, ' ')
 
20
        .replace(/[-\[\]]/g, ' ')
21
21
        .replace(/ +/g, ' ')
22
22
        .replace(/^\s*|\s*$/g, '');
23
23
    }