Variable names changed from underscore to CamelCase. Eslint rules updated. #64

This commit is contained in:
n1474335 2017-01-31 18:24:56 +00:00
parent f8193797fa
commit e3c977934b
66 changed files with 3176 additions and 3172 deletions

View file

@ -22,8 +22,8 @@ var Unicode = {
* @param {Object[]} args
* @returns {string}
*/
run_unescape: function(input, args) {
var prefix = Unicode._prefix_to_regex[args[0]],
runUnescape: function(input, args) {
var prefix = Unicode._prefixToRegex[args[0]],
regex = new RegExp(prefix+"([a-f\\d]{4,6})", "ig"),
output = "",
m,
@ -53,7 +53,7 @@ var Unicode = {
* @private
* @constant
*/
_prefix_to_regex: {
_prefixToRegex: {
"\\u": "\\\\u",
"%u": "%u",
"U+": "U\\+"