From 4b0e61182b3f39c80d68ea65a35599bdd56c014a Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 1 Sep 2015 02:25:16 +0900 Subject: [PATCH] apply tsfmt --- offline-js/offline-js-tests.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/offline-js/offline-js-tests.ts b/offline-js/offline-js-tests.ts index 82af46683..d43f091fa 100644 --- a/offline-js/offline-js-tests.ts +++ b/offline-js/offline-js-tests.ts @@ -4,11 +4,11 @@ Offline.options = { checkOnLoad: false, interceptRequests: true, - checks: { - xhr: { url: '/connection-test' }, - image: { url: 'my-image.gif' }, - active: 'image' - }, + checks: { + xhr: { url: '/connection-test' }, + image: { url: 'my-image.gif' }, + active: 'image' + }, reconnect: { initialDelay: 3, delay: 60 @@ -21,7 +21,7 @@ Offline.check(); Offline.state; -var handler = () => {}, +var handler = () => { }, context = {}; Offline.on("up", handler, context); @@ -37,4 +37,4 @@ Offline.on("reconnect:failure", handler, context); Offline.on("requests:flush", handler, context); Offline.on("requests:hold", handler, context); -Offline.off("up", handler); \ No newline at end of file +Offline.off("up", handler);