TinyMCE_Array.class.js

Summary

No overview generated for 'TinyMCE_Array.class.js'


/**
 * $RCSfile$
 * $Revision$
 * $Date$
 *
 * @author Moxiecode
 * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
 *
 * The contents of this file will be wrapped in a class later on.
 */

/**
 * Returns a cleared array, since some external libraries tend to extend the Array core object
 * arrays needs to be cleaned from these extended functions. So this function simply sets any
 * named properties back to null.
 *
 * @param {Array} Name/Value array to clear.
 * @return Cleared name/value array.
 * @type Array
 */
TinyMCE_Engine.prototype.clearArray = function(a) {
	for (var k in a)
		a[k] = null;

	return a;
};


Documentation generated by JSDoc on Wed Mar 22 13:20:28 2006