examples/ionic1/www/lib/ionic/js/ionic.bundle.js
function(newWidth, newHeight) {
          var requiresRefresh = self.dataLength && newWidth && newHeight &&
            (newWidth !== self.width || newHeight !== self.height);

          self.width = newWidth;
          self.height = newHeight;

          return !!requiresRefresh;
        }
function(newWidth, newHeight) {
          var requiresRefresh = self.dataLength && newWidth && newHeight &&
            (newWidth !== self.width || newHeight !== self.height);

          self.width = newWidth;
          self.height = newHeight;

          return !!requiresRefresh;
        }
function ( newWidth , newHeight ) { var requiresRefresh = self . dataLength && newWidth && newHeight && ( newWidth !== self . width || newHeight !== self . height ) ; self . width = newWidth ; self . height = newHeight ; return ! ! requiresRefresh ; }
A resize triggers a refresh only if we have data, the scrollView has size, and the size has changed.
A resize triggers a refresh only if we have data the scrollView has size and the size has changed .