Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WWW20 Projekt ShapePicture Editor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Edward Sabinus
WWW20 Projekt ShapePicture Editor
Commits
e98b702f
Commit
e98b702f
authored
4 years ago
by
Edward Sabinus
Browse files
Options
Downloads
Patches
Plain Diff
Update correct Shapepicture editor.elm
parent
b2da2f0f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ShapePicture_Editor.elm
+49
-0
49 additions, 0 deletions
src/ShapePicture_Editor.elm
with
49 additions
and
0 deletions
src/ShapePicture_Editor.elm
0 → 100644
+
49
−
0
View file @
e98b702f
module
ShapePicture_Editor
exposing
(
main
)
--Browser
import
Browser
import
Browser
.
Navigation
as
Nav
-- Url
import
Url
-- Own
import
TypeHolder
exposing
(
Model
,
Msg
(
..
))
import
Manager
.
UpdateManager
exposing
(
update
)
import
Manager
.
ViewManager
exposing
(
documentView
)
import
Manager
.
StateManager
as
StM
import
Util
.
Util
exposing
(
Picture
,
isEdit
)
main
=
Browser
.
application
{
init
=
init
,
subscriptions
=
subscriptions
,
update
=
update
,
view
=
documentView
,
onUrlChange
=
UrlChanged
,
onUrlRequest
=
LinkClicked
}
-- INIT
init
:
()
->
Url
.
Url
->
Nav
.
Key
->
(
Model
,
Cmd
Msg
)
init
_
url
key
=
(
Model
StM
.
Standby
[]
0
(
Ok
"
Init"
)
(
Picture
(
Url
.
Url
Url
.
Http
"
www.informatik.uni-halle.de"
Nothing
"
/im/1285058520_1381_00_800.jpg"
Nothing
Nothing
)
0
0
)
(
isEdit
url
)
url
key
,
Cmd
.
none
)
-- SUBSCRIPTIONS
subscriptions
:
Model
->
Sub
Msg
subscriptions
model
=
Sub
.
none
This diff is collapsed.
Click to expand it.
Edward Sabinus
@ajnwd
mentioned in commit
9ec7d09a
·
4 years ago
mentioned in commit
9ec7d09a
mentioned in commit 9ec7d09a3196930846e9ddec30e7ce7da2720055
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment