Skip to content

Commit a270b5a

Browse files
committed
removed debug messages
1 parent bb23d2a commit a270b5a

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

app/src/akiee/app_db.cljs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
(defonce conf-state (local-storage (rc/atom {:task-location ""}) :conf-state))
3838
(if (or (empty? (:task-location @conf-state)) nil)
3939
(swap! conf-state assoc :task-location (fo/user-home)))
40-
;(defonce conf-state (rc/atom {:task-location (fo/user-home)}))
41-
(println "CONF-STATE ######################")
42-
(println (:task-location @conf-state))
4340

4441
(defonce app-state (rc/atom (global-state. false false false false "" nil nil DOING)))
4542

@@ -56,7 +53,6 @@
5653
"String -> GlobalState
5754
Consume a Task-Location directory and produces a new GlobalState with new tasks"
5855
[pth]
59-
(println "RESET-TASKLIST " pth)
6056
(let [tlf (fo/create-task-list-file pth)]
6157
(reset! task-list (load-task-list tlf))))
6258

@@ -395,7 +391,6 @@
395391
returns a ListOfNode"
396392
[n pro gs]
397393
(let [lon (vec @task-list)
398-
tmp (println lon)
399394
i (inc (node-pos-by-headline pro lon))
400395
new-lon (vec (concat (subvec lon 0 i) [n] (subvec lon i)))]
401396
(reset-lon! gs new-lon)))

app/src/akiee/core.cljs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@
167167
(dialogs/empty-message)
168168
[:table.table
169169
[:tbody
170-
(println (count tb))
171170
(for [t tb]
172171
[task t])]]))
173172

app/src/akiee/filewatcher.cljs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
(ns akiee.filewatcher
2-
(:require [cljs.nodejs :as nj]
3-
[akiee.helpers :refer [log]]))
2+
(:require [cljs.nodejs :as nj]))
43
;; Node modules
54
(def fs (js/require "fs"))
65
(def path (nj/require "path"))
@@ -13,7 +12,6 @@
1312
(defn watch-file [pth func]
1413
"String Function -> Void
1514
Watches the file at the specified String pth and triggers the Function func"
16-
(.log js/console func)
1715
(.watchFile fs pth func)) ; watch file again
1816

1917
(defn unwatch-file [pth]

app/src/akiee/handlers.cljs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@
372372
"\n\nTask-Location: " (db/task-location)))))
373373

374374
(defn save-task-helper [pth fpth]
375-
(println "SAVENTASTHELPER")
376375
(fw/unwatch-file (db/task-file-path))
377376
(db/set-task-location! pth)
378377
(fo/save-task-file (no/lon->md (db/nodes)) fpth true db/set-changed! #(fw/on-file-change %1 %2 (on-file-change-reload pth))))

0 commit comments

Comments
 (0)