src/basis/data.js
function(){
      Dataset.flushChanges(this);

      var deleted = this.getItems();
      var listenHandler = this.listen.item;
      var delta;

      if (deleted.length)
      {
        if (listenHandler)
          for (var i = 0; i < deleted.length; i++)
            deleted[i].removeHandler(listenHandler, this);

        this.emit_itemsChanged(delta = {
          deleted: deleted
        });

        this.members_ = {};
      }

      return delta;
    }
function(){
      Dataset.flushChanges(this);

      var deleted = this.getItems();
      var listenHandler = this.listen.item;
      var delta;

      if (deleted.length)
      {
        if (listenHandler)
          for (var i = 0; i < deleted.length; i++)
            deleted[i].removeHandler(listenHandler, this);

        this.emit_itemsChanged(delta = {
          deleted: deleted
        });

        this.members_ = {};
      }

      return delta;
    }
function ( ) { Dataset . flushChanges ( this ) ; var deleted = this . getItems ( ) ; var listenHandler = this . listen . item ; var delta ; if ( deleted . length ) { if ( listenHandler ) for ( var i = 0 ; i < deleted . length ; i ++ ) deleted [ i ] . removeHandler ( listenHandler , this ) ; this . emit_itemsChanged ( delta = { deleted : deleted } ) ; this . members_ = { } ; } return delta ; }
Removes all items from dataset.
Removes all items from dataset .