code: function(layer) {
              if (arguments.length > 1) {
                  for (var i = 0; i < arguments.length; i++) {
                      this.add(arguments[i]);
                  }
                  return;
              }
              Kinetic.Container.prototype.add.call(this, layer);
              layer._setCanvasSize(this.width(), this.height());
  
              // draw layer and append canvas to container
              layer.draw();
              this.content.appendChild(layer.canvas._canvas);
  
              // chainable
              return this;
          }
docs: add layer or layers to stage
  @method
  @memberof Kinetic.Stage.prototype
  @param {...Kinetic.Layer} layer
  @example
  stage.add(layer1, layer2, layer3);