From e368414115031e71ddf4452c1e5f31312b150564 Mon Sep 17 00:00:00 2001 From: Edward Sabinus <edward.sabinus@student.uni-halle.de> Date: Tue, 7 Jul 2020 16:37:07 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"letzte=20=C3=84nderung"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 8c6d835377aefb9cb5fdb4ac29abccd5b14c6910 --- src/ShapePicture_Editor.elm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ShapePicture_Editor.elm b/src/ShapePicture_Editor.elm index de6925a..362e20e 100644 --- a/src/ShapePicture_Editor.elm +++ b/src/ShapePicture_Editor.elm @@ -39,11 +39,8 @@ init _ url key = 800 600 ) - ,url = url - ,key = key - ,errorString = "" - ,stringToShapes = "[ { \"shape\": { \"polygon\": [ { \"x\": \"157\", \"y\": \"265\" }, { \"x\": \"26\", \"y\": \"116\" }, { \"x\": \"34\", \"y\": \"212\" }, { \"x\": \"229\", \"y\": \"188\" }, { \"x\": \"117\", \"y\": \"124\" } ] }, \"shapeprop\": { \"hFC\": \"white\", \"hFO\": \"0.5\", \"hSC\": \"red\", \"hSW\": \"3\", \"hSO\": \"1.0\", \"uFC\": \"white\", \"uFO\": \"0.0\", \"uSC\": \"red\", \"uSW\": \"3\", \"uSO\": \"1.0\", \"title\": \"default\", \"body\": \"default\" } }, { \"shape\": { \"rect\": { \"x\": \"486\", \"y\": \"60\", \"width\": \"84\", \"height\": \"74\" } }, \"shapeprop\": { \"hFC\": \"white\", \"hFO\": \"0.5\", \"hSC\": \"red\", \"hSW\": \"3\", \"hSO\": \"1.0\", \"uFC\": \"white\", \"uFO\": \"0.0\", \"uSC\": \"red\", \"uSW\": \"3\", \"uSO\": \"1.0\", \"title\": \"default\", \"body\": \"default\" } }, { \"shape\": { \"ellipse\": { \"cx\": \"410\", \"cy\": \"319\", \"rx\": \"110\", \"ry\": \"52\" } }, \"shapeprop\": { \"hFC\": \"white\", \"hFO\": \"0.5\", \"hSC\": \"red\", \"hSW\": \"3\", \"hSO\": \"1.0\", \"uFC\": \"white\", \"uFO\": \"0.0\", \"uSC\": \"red\", \"uSW\": \"3\", \"uSO\": \"1.0\", \"title\": \"default\", \"body\": \"default\" } }, { \"shape\": { \"circle\": { \"cx\": \"395\", \"cy\": \"104\", \"r\": \"66\" } }, \"shapeprop\": { \"hFC\": \"white\", \"hFO\": \"0.5\", \"hSC\": \"red\", \"hSW\": \"3\", \"hSO\": \"1.0\", \"uFC\": \"white\", \"uFO\": \"0.0\", \"uSC\": \"red\", \"uSW\": \"3\", \"uSO\": \"1.0\", \"title\": \"default\", \"body\": \"default\" } } ]" - } + url + key , Cmd.none ) -- SUBSCRIPTIONS @@ -53,4 +50,4 @@ subscriptions model = Sub.none documentView : Model -> Browser.Document Msg documentView model = { title = "ShapePicture_Editor" , body = [view model] - } + } \ No newline at end of file -- GitLab