Skip to content

Commit c2aa92b

Browse files
committed
clean up API vars
1 parent a88d3ec commit c2aa92b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/js/epoch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ function Epoch( $, EpochFront ) {
140140
*/
141141
this.api = function ( url ) {
142142
var key = 'epoch-cache' + url;
143+
var pages;
144+
var local = localStorage.getItem( key );
143145

144-
//var local = localStorage.getItem( key );
145-
var local = false;
146146
if ( !_.isString( local ) || "null" == local ) {
147147
return $.get( url ).then( function ( r, textStatus, rObj ) {
148148
//localStorage.setItem( key, JSON.stringify( r ) );

0 commit comments

Comments
 (0)