{\r
var functions = [];\r
\r
+ CKEDITOR.on( 'reset', function()\r
+ {\r
+ functions = [];\r
+ });\r
+\r
/**\r
* Utility functions.\r
* @namespace\r
} )(),\r
\r
/**\r
- * Build the HTML snippet of a set of <style>/<link>.\r
+ * Build the HTML snippet of a set of <style>/<link>.\r
* @param css {String|Array} Each of which are url (absolute) of a CSS file or\r
* a trunk of style text.\r
*/\r
catch (e) {}\r
}\r
return returnValue;\r
+ },\r
+\r
+ /**\r
+ * Generate a combined key from a series of params.\r
+ * @param {String} subKey One or more string used as sub keys.\r
+ * @example\r
+ * var key = CKEDITOR.tools.genKey( 'key1', 'key2', 'key3' );\r
+ * alert( key ); // "key1-key2-key3".\r
+ */\r
+ genKey : function()\r
+ {\r
+ return Array.prototype.slice.call( arguments ).join( '-' );\r
}\r
};\r
})();\r