PolymerElements / app-storage

Data-pipes and specialized services
61 stars 47 forks source link

In setStoredValue: function(path, value) value is not used #136

Open BenoitClaveau opened 5 years ago

BenoitClaveau commented 5 years ago

Description

Why In setStoredValue: function(path, value) the value argument is not used.

  setStoredValue: function(path, value) {
    if (this.key != null) {
      try {
        this.__setStorageValue(this.key, this.data);
      } catch (e) {
        return Promise.reject(e);
      }

      this.fire('app-local-storage-changed', this, {node: window.top});
    }