From de8e96f91c9f9279492c2412bd7985592c78a9b1 Mon Sep 17 00:00:00 2001 From: Kevin Malakoff Date: Wed, 9 Sep 2015 10:08:50 -0700 Subject: [PATCH] Update Knockback to 1.0.0 and simplified. --- examples/knockback/.gitignore | 23 +- examples/knockback/index.html | 34 +- .../js/lib/knockout-extended-bindings.js | 30 - examples/knockback/js/models/todo.js | 26 - .../knockback/js/models/todo_collection.js | 39 +- examples/knockback/js/viewmodels/app.js | 225 +- examples/knockback/js/viewmodels/todo.js | 128 +- .../node_modules/backbone/backbone.js | 1148 ++-- .../node_modules/jquery/dist/jquery.js | 13 +- .../node_modules/knockback/knockback.js | 4977 +++++++++-------- .../node_modules/backbone/backbone.js | 1608 ------ .../node_modules/underscore/underscore.js | 1415 ----- .../build/output/knockout-latest.debug.js | 612 +- .../node_modules/todomvc-app-css/index.css | 102 +- .../node_modules/todomvc-common/base.js | 9 +- examples/knockback/package.json | 13 +- .../src/lib/knockout-extended-bindings.coffee | 15 - examples/knockback/src/models/todo.coffee | 5 - .../src/models/todo_collection.coffee | 11 - examples/knockback/src/viewmodels/app.coffee | 100 +- examples/knockback/src/viewmodels/todo.coffee | 45 +- 21 files changed, 3968 insertions(+), 6610 deletions(-) delete mode 100644 examples/knockback/js/lib/knockout-extended-bindings.js delete mode 100644 examples/knockback/js/models/todo.js delete mode 100644 examples/knockback/node_modules/knockback/node_modules/backbone/backbone.js delete mode 100644 examples/knockback/node_modules/knockback/node_modules/underscore/underscore.js rename examples/knockback/node_modules/{knockback/node_modules => }/knockout/build/output/knockout-latest.debug.js (92%) delete mode 100644 examples/knockback/src/lib/knockout-extended-bindings.coffee delete mode 100644 examples/knockback/src/models/todo.coffee diff --git a/examples/knockback/.gitignore b/examples/knockback/.gitignore index 5a1e3a5299..edc511ad89 100644 --- a/examples/knockback/.gitignore +++ b/examples/knockback/.gitignore @@ -2,18 +2,21 @@ node_modules/knockback/* !node_modules/knockback/knockback.js !node_modules/knockback/node_modules -node_modules/knockback/node_modules/backbone/* -!node_modules/knockback/node_modules/backbone/backbone.js +node_modules/backbone/* +!node_modules/backbone/backbone.js -node_modules/knockback/node_modules/underscore/* -!node_modules/knockback/node_modules/underscore/underscore.js +node_modules/backbone.localStorage/* +!node_modules/backbone.localStorage/backbone.localStorage.js -node_modules/knockback/node_modules/knockout/* -!node_modules/knockback/node_modules/knockout/build -node_modules/knockback/node_modules/knockout/build/* -!node_modules/knockback/node_modules/knockout/build/output -node_modules/knockback/node_modules/knockout/build/output/* -!node_modules/knockback/node_modules/knockout/build/output/knockout-latest.debug.js +node_modules/underscore/* +!node_modules/underscore.js + +node_modules/knockout/* +!node_modules/knockout/build +node_modules/knockout/build/* +!node_modules/knockout/build/output +node_modules/knockout/build/output/* +!node_modules/knockout/build/output/knockout-latest.debug.js node_modules/jquery/* !node_modules/jquery/dist diff --git a/examples/knockback/index.html b/examples/knockback/index.html index f23f2a3ecb..ae1ced4136 100644 --- a/examples/knockback/index.html +++ b/examples/knockback/index.html @@ -7,28 +7,28 @@ -
-