﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2445	V3: Private variable and functions in the code	Frederico Caldeira Knabben	Frederico Caldeira Knabben	"Whenever possible, the CKEditor prototype code defines private stuff inside closures, so the CKEDITOR object and the window scope remain clean.

In some cases, specially on classes, there are private things that we to be defined ""per instance"". There is no way to define those privates on closures, so those kinds of things must be defined as properties in the objects itself.

To have a clean code, making also the DOM inspection clearer, a standard has been used in the prototype. All private things are defined under a single property called ""_"" (underscore).

To have an overview of the effect we have with it, just open any of the samples and select the DOM tab in FireBug. Then, navigate  through the CKEDITOR object tree. You will find things like CKEDITOR._ and CKEDITOR.plugins._."	New Feature	closed	Normal	CKEditor 3.0	General		fixed	Confirmed V3ProtoStruct Review+	
