Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
todomvc
Commits
a6f91f6d
Commit
a6f91f6d
authored
Aug 26, 2015
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix edit display
parent
7cdcf5a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
examples/elm/Todo.elm
examples/elm/Todo.elm
+2
-3
examples/elm/elm.js
examples/elm/elm.js
+10
-6
No files found.
examples/elm/Todo.elm
View file @
a6f91f6d
...
...
@@ -233,10 +233,9 @@ todoItem address todo =
[]
]
,
input
[
class
"
edit"
,
value
todo
.
description
[
value
todo
.
description
,
name
"
title"
,
class
(
"
todo-"
++
toString
todo
.
id
)
,
class
List
[
(
"
edit"
,
True
)
,
(
"
todo-"
++
toString
todo
.
id
,
True
)]
,
on
"
input"
targetValue
(
Signal
.
message
address
<<
UpdateTask
todo
.
id
)
,
onBlur
address
(
EditingTask
todo
.
id
False
)
,
onEnter
address
(
EditingTask
todo
.
id
False
)
...
...
examples/elm/elm.js
View file @
a6f91f6d
...
...
@@ -13427,12 +13427,16 @@ Elm.Todo.make = function (_elm) {
Delete
(
todo
.
id
))]),
_L
.
fromArray
([]))]))
,
A2
(
$Html
.
input
,
_L
.
fromArray
([
$Html$Attributes
.
$class
(
"
edit
"
)
,
$Html$Attributes
.
value
(
todo
.
description
)
_L
.
fromArray
([
$Html$Attributes
.
value
(
todo
.
description
)
,
$Html$Attributes
.
name
(
"
title
"
)
,
$Html$Attributes
.
$class
(
A2
(
$Basics
.
_op
[
"
++
"
],
,
$Html$Attributes
.
classList
(
_L
.
fromArray
([{
ctor
:
"
_Tuple2
"
,
_0
:
"
edit
"
,
_1
:
true
}
,{
ctor
:
"
_Tuple2
"
,
_0
:
A2
(
$Basics
.
_op
[
"
++
"
],
"
todo-
"
,
$Basics
.
toString
(
todo
.
id
)))
$Basics
.
toString
(
todo
.
id
))
,
_1
:
true
}]))
,
A3
(
$Html$Events
.
on
,
"
input
"
,
$Html$Events
.
targetValue
,
...
...
@@ -13563,7 +13567,7 @@ Elm.Todo.make = function (_elm) {
"
#todo-
"
,
$Basics
.
toString
(
_v3
.
_0
));}
_U
.
badCase
(
$moduleName
,
"
on line 33
5
, column 42 to 65
"
);
"
on line 33
4
, column 42 to 65
"
);
}();
};
var
needsFocus
=
function
(
act
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment