code: function(key, value) {
        var string_value = (typeof value == 'string') ? value : JSON.stringify(value);
        key = key.toString();
        this.storage.set(key, string_value);
        if (key != this.meta_key) {
          this._addKey(key);
          this.$element.trigger('set-' + this.name, {key: key, value: value});
          this.$element.trigger('set-' + this.name + '-' + key, {key: key, value: value});
        };
        // always return the original value
        return value;
      }
docs: Sets the value of `key` with `value`. If `value` is an object, it is turned to and stored as a string with `JSON.stringify`. It also tries to conform to the KVO pattern triggering jQuery events on the element that the store is bound to.  ### Example  var store = new Sammy.Store({name: 'kvo'}); $('body').bind('set-kvo-foo', function(e, data) { Sammy.log(data.key + ' changed to ' + data.value); }); store.set('foo', 'bar'); // logged: foo changed to bar