code: function(attr) {
              var method = GET + Kinetic.Util._capitalize(attr);
              if(Kinetic.Util._isFunction(this[method])) {
                  return this[method]();
              }
              // otherwise get directly
              else {
                  return this.attrs[attr];
              }
          }
docs: get attr
  @method
  @memberof Kinetic.Node.prototype
  @param {String} attr
  @returns {Integer|String|Object|Array}
  @example
  var x = node.getAttr('x');