erikringsmuth/requirejs-router

Ractive Example update

andreujuanc opened this issue · 0 comments

Hello!

Update https://github.com/erikringsmuth/requirejs-router/blob/gh-pages/examples/ractive/main.js

Change: view.teardown(render); for view.teardown().then(render);

Now teardown returns a promise and does not accept arguments (it was a callback if i remember correctly)

Cheers!