Ver Mensaje Individual
  #6 (permalink)  
Antiguo 12/11/2010, 18:59
Avatar de ClubIce
ClubIce
 
Fecha de Ingreso: diciembre-2008
Mensajes: 216
Antigüedad: 15 años, 4 meses
Puntos: 2
Respuesta: Error en usando AppendChild

no estoy haciendo ninguna libreria, es soloque simplefiqué algunas funciones:

Código Javascript:
Ver original
  1. /* Tools */
  2. Class = function($1,$2){
  3.   $2 = typeof $2 == 'undefined' ? {} : $2.prototype;
  4.   for($6 in $2){
  5.     if(typeof $1[$6] == 'undefined') $1[$6] = $2[$6];
  6.     else if(typeof $2[$6] == 'function'){
  7.       $1[$6] = (function($3){
  8.         $4 = function(){
  9.         this.parent = $4.parent;
  10.         return $3.apply(this, arguments);
  11.         }
  12.         return $4;
  13.       })($1[$6]);
  14.       $1[$6].parent = $2[$6];
  15.     }
  16.   }
  17.   $5 = function(){
  18.     if(this.initialize) this.initialize.apply(this,arguments);
  19.   }
  20.   $5.prototype = $1;
  21.   $5.constructor = Class;
  22.   return $5;
  23. }
  24. $G=function($1){return document.getElementById($1)}
  25. $T=function($1){return document.getElementsByTagName($1)}
  26. $C=function($1){return document.createElement($1)}
  27. $F=function()  {return document.createDocumentFragment()}

PD: ¿porqué no veo el boton editar?