From 5fa84fc9afc258e6e51dc3fbbb6e3b85f13a452a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 25 May 2012 21:59:48 +0000 Subject: [PATCH] remove trailing commas --- source/Ox/js/Array.js | 2 +- source/Ox/js/Constants.js | 2 +- source/Ox/js/JavaScript.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Ox/js/Array.js b/source/Ox/js/Array.js index 7910494b..7dc073ca 100644 --- a/source/Ox/js/Array.js +++ b/source/Ox/js/Array.js @@ -291,7 +291,7 @@ Ox.api = function(items, options) { '>': function(a, b) { return a > b; }, '>=': function(a, b) { return a >= b; }, '^': function(a, b) { return Ox.starts(a, b); }, - '$': function(a, b) { return Ox.ends(a, b); }, + '$': function(a, b) { return Ox.ends(a, b); } }; if (Ox.isString(itemValue)) { itemValue = itemValue.toLowerCase(); diff --git a/source/Ox/js/Constants.js b/source/Ox/js/Constants.js index 9ba79d19..2818c6ad 100644 --- a/source/Ox/js/Constants.js +++ b/source/Ox/js/Constants.js @@ -65,7 +65,7 @@ Ox.MODIFIER_KEYS = { altKey: 'alt', // Mac: option ctrlKey: 'control', shiftKey: 'shift', - metaKey: 'meta', // Mac: command + metaKey: 'meta' // Mac: command } //@ Ox.MONTHS <[str]> Names of months Ox.MONTHS = [ diff --git a/source/Ox/js/JavaScript.js b/source/Ox/js/JavaScript.js index d0d813b3..c56944ee 100644 --- a/source/Ox/js/JavaScript.js +++ b/source/Ox/js/JavaScript.js @@ -708,7 +708,7 @@ Ox.tokenize = (function() { tokens.push({ length: cursor - start, offset: start, - type: type, + type: type }); }