-function copyPrototype(descendant, parent) {
- var sConstructor = parent.toString();
- var aMatch = sConstructor.match( /\s*function (.*)\(/ );
- if ( aMatch != null ) { descendant.prototype[aMatch[1]] = parent; }
- for (var m in parent.prototype) {
- descendant.prototype[m] = parent.prototype[m];
- }
-}
+// déplacé dans javascript_events_api.js
+
+// function copyPrototype(descendant, parent) {
+// var sConstructor = parent.toString();
+// var aMatch = sConstructor.match( /\s*function (.*)\(/ );
+// if ( aMatch != null ) { descendant.prototype[aMatch[1]] = parent; }
+// for (var m in parent.prototype) {
+// descendant.prototype[m] = parent.prototype[m];
+// }
+// }