Need to provide updateFiles to StorageHandler

pull/1/head
Dave Hoover 9 years ago
parent 289cec440f
commit fbe522ebc0
  1. 2
      src/app.js
  2. 2
      src/app/storage-handler.js

@ -75,7 +75,7 @@ var run = function() {
var SOL_CACHE_FILE_PREFIX = 'sol-cache-file-';
var storageHandler = new StorageHandler(SOL_CACHE_FILE_PREFIX);
var storageHandler = new StorageHandler(updateFiles, SOL_CACHE_FILE_PREFIX);
window.syncStorage = storageHandler.sync;
storageHandler.sync();

@ -1,4 +1,4 @@
function StorageHandler(SOL_CACHE_FILE_PREFIX) {
function StorageHandler(updateFiles, SOL_CACHE_FILE_PREFIX) {
this.sync = function() {

Loading…
Cancel
Save