X-Git-Url: https://svn.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/9e33007578f1c363e79eb8631b890487fc11c19a..810601035a462fdbcb3ebbcdf63aba8ae5350f54:/skins/ajax_scripts/javascript_events_api.js

diff --git a/skins/ajax_scripts/javascript_events_api.js b/skins/ajax_scripts/javascript_events_api.js
index 14c6dfe..521fa91 100644
--- a/skins/ajax_scripts/javascript_events_api.js
+++ b/skins/ajax_scripts/javascript_events_api.js
@@ -44,7 +44,7 @@ function buildMetaFunctions() {
 	clearSelection = _build_clearSelection();
 }
 
-__groupListeners = {};
+var __groupListeners = {};
 
 function _build_addListener() {
 	var _browserSpecific;
@@ -302,7 +302,7 @@ else {
 * http://www.sitepoint.com/blogs/2006/01/17/javascript-inheritance/
 */
 
-var copyPrototype = function (descendant, parent) { 
+copyPrototype = function (descendant, parent) { 
 	var sConstructor = parent.toString(); 
 	var aMatch = sConstructor.match( /\s*function (.*)\(/ );
 	if ( aMatch !== null ) { descendant.prototype[aMatch[1]] = parent; }