Skip to content

Commit

Permalink
Remove usage of emptyMarking for Vue (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
kharus authored Oct 18, 2024
1 parent 6a74ff2 commit 03d8585
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions anyall-purs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
/.psa*
/.spago
/index.js
.spec-results
5 changes: 0 additions & 5 deletions anyall-purs/src/AnyAll.purs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module AnyAll
( module RuleLib.Interview
, heads
, paint
, emptyMarking
)
where

Expand All @@ -19,10 +18,6 @@ import Data.Argonaut.Encode (encodeJson)

import RuleLib.Interview


emptyMarking :: Marking
emptyMarking = markup Map.empty

paint :: Json -> NLDict -> Item String -> Json
paint fm _ item =
encodeJson $ relevant (decodeMarkingArgo fm) Unknown item
Expand Down
2 changes: 1 addition & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function getLins(Interview) {

export default createStore({
state: {
marking: AnyAll.emptyMarking,
marking: {},
rulesInterview_nl: AnyAll.interviewRules_nl,
topLD: AnyAll.nl4eng,
topLDBody: '',
Expand Down

0 comments on commit 03d8585

Please sign in to comment.