﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1423	Possible Optimisation in fckeditorapi.js	Scott McNaught		"I noticed today that there is a large string of javascript code which is generated and eval'd.

I was wondering if you could rather than eval'ing the script in the parent windows context, just do something like this?

{{{
parent.FCKeditorAPI = {
	Version : ""[Development]"",
	VersionBuild : ""[DEV]"",
	__Instances : new Object(),

	GetInstance : function( name )
	{
		return this.__Instances[ name ];
	}
...
};
}}}

I can see a performance optimisation for the reasons that: 
- You wont have to concatenate that sScript string over and over again.
- Eval'd code in any language never runs as fast

I am however unaware if it is possible to set vars in the parent objects context like this in all browsers."	Bug	closed	Normal		General		invalid		
