src/basis/data.js
function(fn){
      var items = this.getItems();

      for (var i = 0; i < items.length; i++)
        fn(items[i]);
    }
function(fn){
      var items = this.getItems();

      for (var i = 0; i < items.length; i++)
        fn(items[i]);
    }
function ( fn ) { var items = this . getItems ( ) ; for ( var i = 0 ; i < items . length ; i ++ ) fn ( items [ i ] ) ; }
Call fn for every item in dataset.
@param {function(item)} fn
Call fn for every item in dataset .