]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - skins/ajax_scripts/javascript_events_api.js
Merge des modifications récentes opérées dans le script final d'installation de Plinn.
[Plinn.git] / skins / ajax_scripts / javascript_events_api.js
index 14c6dfe54bfb5b6a0f29d4e86b1a0d270beae147..71baec7bcd01966089fc0b88a80efca768a728c6 100644 (file)
@@ -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; }