Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created January 15, 2013 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raynos/db0a005744988dfa19bf to your computer and use it in GitHub Desktop.
Save Raynos/db0a005744988dfa19bf to your computer and use it in GitHub Desktop.
var Model = require("scuttlebutt/model")
function Form() {
var model = new Model()
var form = document.createElement("form")
/* magic */
model.view = form
return model
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment