Index: /CKEditor/branches/prototype/_dev/packager/ckpackager/_dev/script.js
===================================================================
--- /CKEditor/branches/prototype/_dev/packager/ckpackager/_dev/script.js	(revision 2366)
+++ /CKEditor/branches/prototype/_dev/packager/ckpackager/_dev/script.js	(revision 2367)
@@ -1,200 +1,1 @@
-/*
- * CKEditor - The text editor for Internet - http://ckeditor.com
- * Copyright (C) 2003-2008 Frederico Caldeira Knabben
- *
- * == BEGIN LICENSE ==
- *
- * Licensed under the terms of any of the following licenses at your
- * choice:
- *
- *  - GNU General Public License Version 2 or later (the "GPL")
- *    http://www.gnu.org/licenses/gpl.html
- *
- *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
- *    http://www.gnu.org/licenses/lgpl.html
- *
- *  - Mozilla Public License Version 1.1 or later (the "MPL")
- *    http://www.mozilla.org/MPL/MPL-1.1.html
- *
- * == END LICENSE ==
- */
-
-/**
- * @fileOverview Defines the {@link CKEDITOR.scriptLoader} object, used to load scripts
- *		asynchronously.
- */
-
-/**
- * Load scripts asynchronously.
- * @namespace
- * @example
- */
-CKEDITOR.scriptLoader = (function()
-{
-	var uniqueScripts = {};
-	var waitingList = {};
-
-	return /** @lends CKEDITOR.scriptLoader */ {
-		/**
-		 * Loads an external script checking if it hasn't been already loaded
-		 * previously by this function.
-		 * @param {String} scriptUrl The URL pointing to the external script to
-		 *		be loaded.
-		 * @param {Function} [callback] A function to be called when the script
-		 *		is loaded and executed
-		 * @param {Object} [scope] The scope ("this" reference) to be used for
-		 *		the callback call. Default to {@link CKEDITOR}.
-		 * @param {Boolean} [noCheck] Indicates that the script must be loaded
-		 *		anyway, not checking if it has already loaded.
-		 * @returns {Boolean} A boolean indicating that the script has been
-		 *		loaded. Returns false if it has already been loaded previously.
-		 * @example
-		 * CKEDITOR.scriptLoader.load( '/myscript.js' );
-		 * @example
-		 * CKEDITOR.scriptLoader.load( '/myscript.js', function( success )
-		 *     {
-		 *         // Alerts "true" if the script has been properly loaded.
-		 *         // HTTP error 404 should return "false".
-		 *         alert( success );
-		 *     });
-		 */
-		load : function( scriptUrl, callback, scope, noCheck )
-		{
-			var isString = ( typeof scriptUrl == 'string' );
-
-			if ( isString )
-				scriptUrl = [ scriptUrl ];
-
-			if ( !scope )
-				scope = CKEDITOR;
-
-			var scriptCount = scriptUrl.length,
-				loadedCount = 0,
-				completed = [],
-				failed = [];
-
-			var doCallback = function( success )
-			{
-				if ( callback )
-				{
-					if ( isString )
-						callback.call( scope, success );
-					else
-						callback.call( scope, completed, failed );
-				}
-			};
-
-			if ( scriptCount == 0 )
-			{
-				doCallback( true );
-				return;
-			}
-
-			var checkLoaded = function( url, success )
-			{
-				( success ? completed : failed).push( url );
-
-				if ( --loadedCount <= 0 )
-					doCallback( success );
-			};
-
-			var onLoad = function( url, success )
-			{
-				// Mark this script as loaded.
-				uniqueScripts[ url ] = 1;
-
-				// Get the list of callback checks waiting for this file.
-				var waitingInfo = waitingList[ url ];
-				delete waitingList[ url ];
-
-				// Check all callbacks waiting for this file.
-				for ( var i = 0 ; i < waitingInfo.length ; i++ )
-					waitingInfo[ i ]( url, success );
-			};
-
-			var loadScript = function( url )
-			{
-				if ( noCheck !== true && uniqueScripts[ url ] )
-				{
-					checkLoaded( url, true );
-					return;
-				}
-
-				var waitingInfo = waitingList[ url ] || ( waitingList[ url ] = [] );
-				waitingInfo.push( checkLoaded );
-
-				// Load it only for the first request.
-				if ( waitingInfo.length > 1 )
-					return;
-
-				// Create the <script> element.
-				var script = new CKEDITOR.dom.element( 'script' );
-				script.setAttributes( {
-					type : 'text/javascript',
-					src : url } );
-
-				if ( callback )
-				{
-					if ( CKEDITOR.env.ie )
-					{
-						// FIXME: For IE, we are not able to return false on error (like 404).
-
-						/** @ignore */
-						script.$.onreadystatechange = function ()
-						{
-							if ( script.$.readyState == 'loaded' || script.$.readyState == 'complete' )
-							{
-								script.$.onreadystatechange = null;
-								onLoad( url, true );
-							}
-						};
-					}
-					else
-					{
-						/** @ignore */
-						script.$.onload = function()
-						{
-							onLoad( url, true );
-						};
-
-						// FIXME: Opera and Safari will not fire onerror.
-
-						/** @ignore */
-						script.$.onerror = function()
-						{
-							onLoad( url, false );
-						};
-					}
-				}
-
-				// Append it to <head>.
-				script.appendTo( CKEDITOR.document.getHead() );
-
-				CKEDITOR.fire( 'download', url );		// @Packager.RemoveLine
-			};
-
-			for ( var i = 0 ; i < scriptCount ; i++ )
-			{
-				loadScript( scriptUrl[ i ] );
-			}
-		},
-
-		/**
-		 * Executes a JavaScript code into the current document.
-		 * @param {String} code The code to be executed.
-		 * @example
-		 * CKEDITOR.scriptLoader.loadCode( 'var x = 10;' );
-		 * alert( x );  // "10"
-		 */
-		loadCode : function( code )
-		{
-			// Create the <script> element.
-			var script = new CKEDITOR.dom.element( 'script' );
-			script.setAttribute( 'type', 'text/javascript' );
-			script.appendText( code );
-
-			// Append it to <head>.
-			script.appendTo( CKEDITOR.document.getHead() );
-		}
-	};
-})();
+var a = 2;
Index: /CKEditor/branches/prototype/_dev/packager/ckpackager/test/test.js
===================================================================
--- /CKEditor/branches/prototype/_dev/packager/ckpackager/test/test.js	(revision 2366)
+++ /CKEditor/branches/prototype/_dev/packager/ckpackager/test/test.js	(revision 2367)
@@ -8,4 +8,5 @@
 (function()
 {
+	// These are tests automatically generated later in this file. The following array contain the list of tests to be executed.
 	var autoTests =
 	[
Index: /CKEditor/branches/prototype/_dev/packager/packagefilegen_full.html
===================================================================
--- /CKEditor/branches/prototype/_dev/packager/packagefilegen_full.html	(revision 2366)
+++ /CKEditor/branches/prototype/_dev/packager/packagefilegen_full.html	(revision 2367)
@@ -67,8 +67,18 @@
 
 		if ( commented )
+		{
+			output.value += '<!--\t';
 			output2.value += '//';
+		}
+		else
+			output.value += '\t\t';
 
-		output.value += '\t\t<File path="' + filePath + '" />\r\n';
+		output.value += '<File path="' + filePath + '" />';
 		output2.value += '\t\t\t\t\t\'' + filePath + '\'';
+
+		if ( commented )
+			output.value += ' -->';
+
+		output.value += '\r\n';
 	};
 
Index: /CKEditor/branches/prototype/fckpackager.xml
===================================================================
--- /CKEditor/branches/prototype/fckpackager.xml	(revision 2366)
+++ /CKEditor/branches/prototype/fckpackager.xml	(revision 2367)
@@ -99,4 +99,5 @@
 		<File path="_source/core/dom/text.js" />
 		<File path="_source/core/_bootstrap.js" />
+<!--	<File path="_source/lang/en.js" /> -->
 		<File path="_source/plugins/basicstyles/plugin.js" />
 		<File path="_source/plugins/button/plugin.js" />
@@ -109,5 +110,5 @@
 		<File path="_source/plugins/htmlwriter/plugin.js" />
 		<File path="_source/plugins/editingblock/plugin.js" />
-		<File path="_source/plugins/sourcearea/lang/it.js" />
+<!--	<File path="_source/plugins/sourcearea/lang/it.js" /> -->
 		<File path="_source/themes/default/theme.js" />
 	</PackageFile>
