Commit f22dbf85 authored by Stephen Sawchuk's avatar Stephen Sawchuk

fixes #601 - o_O jquery downgrade.

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