Commit f22dbf85 authored by Stephen Sawchuk's avatar Stephen Sawchuk

fixes #601 - o_O jquery downgrade.

parent f83a3caa
......@@ -3,6 +3,6 @@
"version": "0.0.0",
"dependencies": {
"todomvc-common": "~0.1.6",
"jquery": "~2.0.0"
"jquery": "~1.8.0"
}
}
......@@ -8,8 +8,7 @@
var Todo = o_O.model.extend({
title: '',
completed: false
},
{
}, {
initialize: function () {
this.editing = o_O(false);
},
......@@ -164,8 +163,8 @@
// a custom binding to handle the enter key
o_O.bindings.enterKey = function (func, $el) {
var ENTER_KEY = 13,
context = this;
var ENTER_KEY = 13;
var context = this;
$el.keyup(function (e) {
if (e.which === ENTER_KEY) {
......
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