/*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
if ( this.registered[ name ] )\r
throw '[CKEDITOR.resourceManager.add] The resource name "' + name + '" is already registered.';\r
\r
- this.registered[ name ] = definition || {};\r
+ CKEDITOR.fire( name + CKEDITOR.tools.capitalize( this.fileName ) + 'Ready',\r
+ this.registered[ name ] = definition || {} );\r
},\r
\r
/**\r