From 9a11327b5eece638c3ba6f189853ae29449a9be0 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 21 Mar 2018 11:27:09 -0400 Subject: [PATCH] Add final scatterplot build. --- .../scatterplot/static/scatterplot.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/plugins/visualizations/scatterplot/static/scatterplot.js b/config/plugins/visualizations/scatterplot/static/scatterplot.js index b8f5cde22d1..428321d0afc 100644 --- a/config/plugins/visualizations/scatterplot/static/scatterplot.js +++ b/config/plugins/visualizations/scatterplot/static/scatterplot.js @@ -20,17 +20,17 @@ var t=(0,eval)("this");!function(e){var i="object"==typeof self&&self.self===sel "use strict";function t(t,e){return this.numPages=null,this.currPage=0,this.init(t,e)}function e(t){return $(['
  • ',t,"
  • "].join(""))}t.prototype.DATA_KEY="pagination",t.prototype.defaults={startingPage:0,perPage:20,totalDataSize:null,currDataSize:null},t.prototype.init=function(e,i){return i=i||{},this.$element=e,this.options=$.extend(!0,{},this.defaults,i),this.currPage=this.options.startingPage,null!==this.options.totalDataSize&&(this.numPages=Math.ceil(this.options.totalDataSize/this.options.perPage),this.currPage>=this.numPages&&(this.currPage=this.numPages-1)),this.$element.data(t.prototype.DATA_KEY,this),this._render(),this},t.prototype._render=function(){return 0===this.options.totalDataSize?this:1===this.numPages?this:(this.numPages>0?(this._renderPages(),this._scrollToActivePage()):this._renderPrevNext(),this)},t.prototype._renderPrevNext=function(){var t=this,i=e("Prev"),a=e("Next"),n=$("