Ghost/ghost/admin/app/utils
Kevin Ansfield ed1d6c98b3 Drop XRegExp dependency
closes #6102
- removes the `xregexp` dependency
- pulls in the non-alphnumeric unicode list directly from the XRegExp library to ensure the word count helper still takes into account unicode strings

The XRegExp dependency was breaking as new browsers add more es6 support as evidenced in #6102. Upgrading to version 3.1.0 fixed the Chrome "experimental JS" issue but was still broken in Safari Technology Preview.

We only use one feature of `XRegExp` in a single place for a relatively non-critical feature: calculating the word count. As such I figured it may be better to drop the 63KB minified dependency and simply copy the result of the compiled regex directly until such time as XRegExp has native support in our supported browsers.
2016-03-30 19:45:20 +01:00
..
ajax.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
bind.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
bound-one-way.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
caja-sanitizers.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
ctrl-or-cmd.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
date-formatting.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
document-title.js deps: ember/ember-data@2.2.0 2015-11-30 12:23:47 -06:00
ed-image-manager.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
editor-shortcuts.js Isolate all markdown editor behaviour into gh-editor component 2016-01-13 12:01:31 +00:00
ghost-paths.js Change URL for download count service 2016-02-09 10:20:24 +00:00
isFinite.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
isNumber.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
link-component.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
random-password.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
text-field.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
titleize.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
validator-extensions.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
window-proxy.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
word-count.js Drop XRegExp dependency 2016-03-30 19:45:20 +01:00