Permalink
Browse files

last little fix for the version check, we're at 0.6.0

Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information...
1 parent d635fca commit 45f13c11f96b2196098d6585e615a57e543a26a6 @ibdknox ibdknox committed Jan 8, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/lt/objs/deploy.cljs
View
4 src/lt/objs/deploy.cljs
@@ -158,7 +158,7 @@
(defn notify [obj]
(let [{:keys [nw-version]} obj]
(cond
- (not nw-version) (alert-binary-update)
+ nw-version (alert-binary-update)
:else obj)))
(defn check-all []
@@ -186,3 +186,5 @@
(set! js/localStorage.fetchedVersion nil))
(check-version)
(every version-timeout check-version)))
+
+(object/tag-behaviors :app [::check-deploy])

0 comments on commit 45f13c1

Please sign in to comment.