src/basis/data/dataset/Slice.js
function(offset, limit){
    var oldOffset = this.offset;
    var oldLimit = this.limit;
    var delta = false;

    if (oldOffset != offset || oldLimit != limit)
    {
      this.offset = offset;
      this.limit = limit;

      delta = this.applyRule();

      this.emit_rangeChanged(oldOffset, oldLimit);
    }

    return delta;
  }
function(offset, limit){
    var oldOffset = this.offset;
    var oldLimit = this.limit;
    var delta = false;

    if (oldOffset != offset || oldLimit != limit)
    {
      this.offset = offset;
      this.limit = limit;

      delta = this.applyRule();

      this.emit_rangeChanged(oldOffset, oldLimit);
    }

    return delta;
  }
function ( offset , limit ) { var oldOffset = this . offset ; var oldLimit = this . limit ; var delta = false ; if ( oldOffset != offset || oldLimit != limit ) { this . offset = offset ; this . limit = limit ; delta = this . applyRule ( ) ; this . emit_rangeChanged ( oldOffset , oldLimit ) ; } return delta ; }
Set new range for dataset.
@param {number} offset Start of range.
@param {number} limit Length of range.
@return {object|boolean} Delta of member changes.
Set new range for dataset .