Index: /CKEditor/branches/prototype/_source/core/tools.js
===================================================================
--- /CKEditor/branches/prototype/_source/core/tools.js	(revision 2945)
+++ /CKEditor/branches/prototype/_source/core/tools.js	(revision 2946)
@@ -16,41 +16,4 @@
 CKEDITOR.tools =
 {
-	/**
-	 * Evaluates a script in a window (global) scope.
-	 * @param {String} script The script code to be evaluated.
-	 * @param {Object} [win] The target window. Defaults to the current window.
-	 * @example
-	 * var script = 'function sample() { alert( "Go!" ); }';
-	 *
-	 * // Evaluates a script in the current window.
-	 * CKEDITOR.tools.globalEval( script );
-	 *
-	 * // Evaluates a script in the parent window.
-	 * CKEDITOR.tools.globalEval( script, window.parent );
-	 *
-	 * // Alerts "Go!" twice.
-	 * window.sample();
-	 * window.parent.sample();
-	 */
-	globalEval : function( script, win )
-	{
-		if ( !win )
-			win = window;
-
-		if ( win.execScript )
-			win.execScript( script );	// IE
-		else if ( CKEDITOR.env.webkit )
-		{
-			// win.eval in Safari executes in the current window environment,
-			// instead of win. The following should make it work.
-			var doc = win.document;
-			var scriptEl = doc.createElement('script');
-			scriptEl.appendChild( doc.createTextNode( script ) );
-			doc.documentElement.appendChild( scriptEl );
-		}
-		else
-			eval.call( win, script );
-	},
-
 	/**
 	 * Copy the properties from one object to another. By default, properties
@@ -348,15 +311,4 @@
 		}
 		return -1;
-	},
-
-	/**
-	 * Binds a function with an object as its this reference.
-	 * @param {Function} func The function to be bounded.
-	 * @param {Object} obj This this reference to bind to the function.
-	 * @returns {Function} The bound function.
-	 */
-	bind : function( func, obj )
-	{
-		return function(){ return func.apply( obj, arguments ); }
 	}
 };
Index: /CKEditor/branches/prototype/_source/tests/core/tools.html
===================================================================
--- /CKEditor/branches/prototype/_source/tests/core/tools.html	(revision 2945)
+++ /CKEditor/branches/prototype/_source/tests/core/tools.html	(revision 2946)
@@ -15,21 +15,4 @@
 
 	return {
-		test_globalEval_1 : function()
-		{
-			CKEDITOR.tools.globalEval( 'var __test_globalEval = "OK";' );
-			assert.isString( window.__test_globalEval, 'The global variable should be a string' );
-			assert.areEqual( 'OK', window.__test_globalEval, 'Global variable is corrupt' );
-		},
-
-		test_globalEval_2 : function()
-		{
-			var iframe = document.getElementsByTagName('iframe')[0];
-			var win = iframe.contentWindow;
-
-			CKEDITOR.tools.globalEval( 'var __test_globalEval = "OK";', win );
-			assert.isString( win.__test_globalEval, 'The global variable should be a string' );
-			assert.areEqual( 'OK', win.__test_globalEval, 'Global variable is corrupt' );
-		},
-
 		test_extend : function()
 		{
