From b387ffc62716cb0d1b6c50b4fbc5b405018d55bc Mon Sep 17 00:00:00 2001
From: Matthew Kocher & Nate Clark <pair+mkocher+nate@pivotallabs.com>
Date: Tue, 1 May 2012 17:55:56 -0700
Subject: [PATCH] ckeditor working with patched array prototype

---
 .../_source/plugins/filebrowser/plugin.js          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/ckeditor-3.6.3/_source/plugins/filebrowser/plugin.js b/public/ckeditor-3.6.3/_source/plugins/filebrowser/plugin.js
index d354327..817761f 100755
--- a/public/ckeditor-3.6.3/_source/plugins/filebrowser/plugin.js
+++ b/public/ckeditor-3.6.3/_source/plugins/filebrowser/plugin.js
@@ -242,7 +242,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 	{
 		var element, fileInput;
 
-		for ( var i in elements )
+		for ( var i = 0; i < elements.length; i++ )
 		{
 			element = elements[ i ];
 
@@ -399,7 +399,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 		var definition = evt.data.definition,
 			element;
 		// Associate filebrowser to elements with 'filebrowser' attribute.
-		for ( var i in definition.contents )
+		for ( var i = 0; i < definition.contents.length; i++ )
 		{
 			if ( ( element = definition.contents[ i ] ) )
 			{
-- 
1.7.9

