Permalink
Browse files

saving state. this doesn't work.

  • Loading branch information...
1 parent 1a5b1b7 commit 1e798e45f99a27d30e4a47ae8f5f450789aa02a8 @nrw committed Dec 1, 2011
Showing with 13 additions and 1 deletion.
  1. +1 −0 lib/app.coffee
  2. +11 −0 lib/updates.coffee
  3. +1 −1 packages/spine-adapter
View
@@ -2,4 +2,5 @@ module.exports =
shows: require("./shows")
lists: require("./lists")
views: require("./views")
+ updates: require("./updates")
rewrites: require("./rewrites")
View
@@ -0,0 +1,11 @@
+# $ = require('spine/core').$
+
+exports.model = (doc, req) ->
+ log "BEGIN MODELS UPDATE FUNCTION"
+ # log doc
+ # mindoc = $.extend(true, {}, doc);
+ # form = new forms.Form(types.login, null, {})
+ # form.validate req
+ # if form.values.user and form.values.pass
+ # session.login form.values.user, form.values.pass, ((err)-> log err if err)
+ [doc, JSON.stringify(doc)]
Submodule spine-adapter updated from 3e9d60 to 62de02

0 comments on commit 1e798e4

Please sign in to comment.