From 6fe481dd41e249b3b438380432c7d8e83cd2fd12 Mon Sep 17 00:00:00 2001 From: Mike Tigas Date: Wed, 30 Mar 2016 20:07:55 -0400 Subject: [PATCH] 1.1.0-beta1 version bump --- build.xml | 10 +++++----- webapp/static/js/tabula.js | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.xml b/build.xml index ccfd553b..90efc892 100644 --- a/build.xml +++ b/build.xml @@ -5,7 +5,7 @@ - + @@ -17,7 +17,7 @@ - + - - + + - + diff --git a/webapp/static/js/tabula.js b/webapp/static/js/tabula.js index 9c94b8ec..d2bf3898 100644 --- a/webapp/static/js/tabula.js +++ b/webapp/static/js/tabula.js @@ -2,7 +2,7 @@ var Tabula; window.Tabula = Tabula || {}; $.ajaxSetup({ cache: false }); // fixes a dumb issue where Internet Explorer caches Ajax requests. See https://github.com/tabulapdf/tabula/issues/408 -Tabula.UI_VERSION = "1.0.0-2015-08-05" // when we make releases, we should remember to up this. +Tabula.UI_VERSION = "1.1.0-2016-03-30" // when we make releases, we should remember to up this. // Add '-pre' to the end of this for a prerelease version; this will let // our "new version" check give you that channel. @@ -123,7 +123,7 @@ Tabula.getNotifications = function(){ } ); $.ajax({ - url: 'http://tabula.jeremybmerrill.com/tabula/notifications.jsonp', + url: 'http://tabula.jeremybmerrill.com/tabula/notifications.jsonp', dataType: "jsonp", jsonpCallback: 'notifications', success: function(data){ @@ -132,10 +132,10 @@ Tabula.getNotifications = function(){ // find the first listed notification where today is between its `live_date` and `expires_date` // and within the `versions` list. // we might use this for, say, notifying users if a version urgently needs an update or something - // + // var notifications = $.grep(data, function(d){ var today = new Date(); - if ( (d.expires_date && (new Date(d.expires_date) < today)) || (d.live_date && (new Date(d.live_date) > today)) ){ + if ( (d.expires_date && (new Date(d.expires_date) < today)) || (d.live_date && (new Date(d.live_date) > today)) ){ return false; } if( d.versions && d.versions.length > 0){