Commit 6d75cc24 authored by Sindre Sorhus's avatar Sindre Sorhus

Merge pull request #415 from clarle/yui-3.8

Update to YUI 3.8
parents 66440dfe 18b7f452
...@@ -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/',
......
...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment