From 3557eba1660ee81c76a8037d99c10c323363a1af Mon Sep 17 00:00:00 2001 From: Ryan Griffith Date: Mon, 8 Apr 2013 16:29:50 -0400 Subject: [PATCH] Removed trailing commas that cause errors in IE --- lib/ace/mode/javascript_highlight_rules.js | 6 +++--- lib/ace/snippets.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/ace/mode/javascript_highlight_rules.js b/lib/ace/mode/javascript_highlight_rules.js index 531b0cd5..638ef6b3 100644 --- a/lib/ace/mode/javascript_highlight_rules.js +++ b/lib/ace/mode/javascript_highlight_rules.js @@ -3,7 +3,7 @@ * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright @@ -14,7 +14,7 @@ * * Neither the name of Ajax.org B.V. nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -273,7 +273,7 @@ var JavaScriptHighlightRules = function() { }, { token: "constant.language.escape", regex: "]", - next: "regex", + next: "regex" }, { token: "constant.language.escape", regex: "-" diff --git a/lib/ace/snippets.js b/lib/ace/snippets.js index 21395cd2..eb2a9153 100644 --- a/lib/ace/snippets.js +++ b/lib/ace/snippets.js @@ -99,7 +99,7 @@ var SnippetManager = function() { onMatch: function(val, state, stack) { var ts = stack[0]; ts.fmtString = val; - + val = this.splitRegex.exec(val); ts.guard = val[1]; ts.fmt = val[2]; @@ -764,7 +764,7 @@ var TabstopManager = function(editor) { "!Return": function(ed) { //ed.tabstopManager.tabNext(1); return false; - }, + } }); }).call(TabstopManager.prototype);