From d88aef3a55ccb95a8b03fd044608112d7f9ec3f4 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Thu, 30 Jul 2009 02:16:39 +0200 Subject: [PATCH] Add missing semicolons. [#751 state:resolved] --- CHANGELOG | 2 ++ src/dom/dom.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 76ddd7c..69cffdc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +* Add missing semicolons. [#751 state:resolved] (Diego Perini) + * Remove expensive (for such low-level method) internal `getClass` in favor of plain string comparison (kangax) * Fix `PeriodicalExecuter` so that it no longer suppresses exceptions. [#696 state:resolved] (Samuel Lebeau, Yaffle) diff --git a/src/dom/dom.js b/src/dom/dom.js index 875eef7..9bfaee6 100644 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -1374,7 +1374,7 @@ else if (Prototype.Browser.IE) { attribute = attribute.split('{')[1]; attribute = attribute.split('}')[0]; return attribute.strip(); - } + }; } // IE8 else if (value === '') { @@ -1383,7 +1383,7 @@ else if (Prototype.Browser.IE) { attribute = element.getAttribute(attribute); if (!attribute) return null; return attribute.strip(); - } + }; } el = null; return f;