whole_func_string: function (state) {
          var me = this;
          if (me.readyState != state) {
              me.readyState = state;
              me.onreadystatechange();
          }
      }
func_code_string: function (state) {
          var me = this;
          if (me.readyState != state) {
              me.readyState = state;
              me.onreadystatechange();
          }
      }
func_documentation_string: Updates readyState and notifies listeners.
  @private