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
6d75cc24
Commit
6d75cc24
authored
Feb 13, 2013
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #415 from clarle/yui-3.8
Update to YUI 3.8
parents
66440dfe
18b7f452
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
architecture-examples/yui/index.html
architecture-examples/yui/index.html
+1
-3
architecture-examples/yui/js/app.js
architecture-examples/yui/js/app.js
+1
-1
No files found.
architecture-examples/yui/index.html
View file @
6d75cc24
...
...
@@ -56,11 +56,9 @@
{{
/
if
}}
</script>
<script
src=
"../../assets/base.js"
></script>
<script
src=
"http://yui.yahooapis.com/3.
6.0pr4
/build/yui/yui-min.js"
></script>
<script
src=
"http://yui.yahooapis.com/3.
8.1
/build/yui/yui-min.js"
></script>
<script>
YUI
({
filter
:
'
raw
'
,
allowRollup
:
'
false
'
,
groups
:
{
'
todo-mvc
'
:
{
base
:
'
./js/
'
,
...
...
architecture-examples/yui/js/app.js
View file @
6d75cc24
...
...
@@ -123,7 +123,7 @@ YUI.add('todo-app', function (Y) {
var
ENTER_KEY
=
13
;
var
todoList
=
this
.
get
(
'
todoList
'
);
var
inputNode
=
this
.
get
(
'
inputNode
'
);
var
value
=
Y
.
Escape
.
html
(
Y
.
Lang
.
trim
(
inputNode
.
get
(
'
value
'
))
);
var
value
=
inputNode
.
get
(
'
value
'
);
if
(
e
.
keyCode
!==
ENTER_KEY
||
!
value
)
{
return
;
...
...
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