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 @@
{{/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/',
......
......@@ -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;
......
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