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
Eugene Shen
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 @@
...
@@ -56,11 +56,9 @@
{{
/
if
}}
{{
/
if
}}
</script>
</script>
<script
src=
"../../assets/base.js"
></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>
<script>
YUI
({
YUI
({
filter
:
'
raw
'
,
allowRollup
:
'
false
'
,
groups
:
{
groups
:
{
'
todo-mvc
'
:
{
'
todo-mvc
'
:
{
base
:
'
./js/
'
,
base
:
'
./js/
'
,
...
...
architecture-examples/yui/js/app.js
View file @
6d75cc24
...
@@ -123,7 +123,7 @@ YUI.add('todo-app', function (Y) {
...
@@ -123,7 +123,7 @@ YUI.add('todo-app', function (Y) {
var
ENTER_KEY
=
13
;
var
ENTER_KEY
=
13
;
var
todoList
=
this
.
get
(
'
todoList
'
);
var
todoList
=
this
.
get
(
'
todoList
'
);
var
inputNode
=
this
.
get
(
'
inputNode
'
);
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
)
{
if
(
e
.
keyCode
!==
ENTER_KEY
||
!
value
)
{
return
;
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