File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 2020 "purescript-maybe" : " ~0.1.3"
2121 },
2222 "devDependencies" : {
23- "angular" : " ~1.2.17" ,
24- "purescript-refs" : " ~0.1.0" ,
23+ "angular" : " ~1.2.18" ,
2524 "todomvc-common" : " ~0.1.9" ,
2625 "purescript-strings" : " ~0.1.3" ,
27- "purescript-arrays" : " ~0.1.3 " ,
28- "purescript-control" : " ~0.1.0 " ,
29- "purescript-foldable-traversable" : " ~0.1.1 "
26+ "purescript-arrays" : " ~0.1.8 " ,
27+ "purescript-control" : " ~0.1.1 " ,
28+ "purescript-foldable-traversable" : " ~0.1.2 "
3029 }
3130}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ addTodo scope = do
2626 put $ todos <> [todo]
2727 pushSTArray s.todos todo
2828 writeScopeState { newTodo: " " , remainingCount: s.remainingCount + 1 } scope
29- return {}
29+ return unit
3030
3131todoCompleted scope todo
3232 = modifyScopeState (\s -> do
@@ -75,7 +75,6 @@ removeTodo scope todo = do
7575 writeScopeState { remainingCount: s.remainingCount + c} scope
7676 spliceSTArray s.todos i 1 []
7777 put arr
78- return {}
7978
8079revertEditing scope todo = do
8180 s <- readScopeState scope
@@ -88,7 +87,6 @@ revertEditing scope todo = do
8887 doneEditing scope t
8988 return unit
9089 Nothing -> return unit
91- return {}
9290
9391watchRemainingCount scope = do
9492 watch " remainingCount == 0" (Just (\a1 _ _ ->
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ focusLink scope element attrs ctrls trans = do
2020 zeroTimeout case element !! 0 of
2121 Just el -> focus el
2222 Nothing -> return unit
23- return {}
24- return unit )) false scope
23+ return unit
24+ )) false scope
2525 return unit
2626
2727foreign import zeroTimeout
You can’t perform that action at this time.
0 commit comments