Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Compilation of KO sample from David Nolen
var hello_clojurescript = {AppViewModel:function(a, b, c) {
this.firstName = a;
this.lastName = b;
this.fullName = c
hello_clojurescript.AppViewModel.cljs$lang$type = !0;
hello_clojurescript.AppViewModel.cljs$lang$ctorPrSeq = function() {
return, "hello-clojurescript/AppViewModel")
hello_clojurescript.AppViewModel.cljs$lang$ctorPrWriter = function(a, b) {
return, b, "hello-clojurescript/AppViewModel")
hello_clojurescript.my_model = function(a, b) {
return new hello_clojurescript.AppViewModel(ko.observable(a), ko.observable(b), ko.computed([cljs.core.str(, cljs.core.str(" "), cljs.core.str(].join("")))
ko.applyBindings(, "Bob", "Smith"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment