weepy / o_O

Funnyface: HTML binding for teh lulz
http://weepy.github.com/o_O/
MIT License
149 stars 11 forks source link

TODOs tutorial is broken #8

Closed troygoode closed 12 years ago

troygoode commented 12 years ago

http://weepy.github.com/o_O/examples/todos/index.html

Error:

Uncaught TypeError: Object function o_O() {} has no method 'collection'

Being thrown from:

var ViewModel = function(todos) {
        var self = this;
        //map array of passed in todos to an observableArray of Todo objects
        self.todos = o_O.collection(todos)

Sorry, didn't have time to investigate further yet.

weepy commented 12 years ago

thanks - the website needs upgrading to the latest version of the example and the library.

troygoode commented 12 years ago

Is fixed by pull request in issue #10.