code: function (other) {
              var self = this;
              // port and hostname has to be same
              return equalsIgnoreCase(self.hostname, other['hostname']) &&
                  equalsIgnoreCase(self.scheme, other['scheme']) &&
                  equalsIgnoreCase(self.port, other['port']);
          }
docs: Judge whether two uri has same domain.
  @param {KISSY.Uri} other
  @return {Boolean}