fix null ref in m.module example in docs

This commit is contained in:
Leo Horie 2014-03-20 12:41:06 -04:00
parent e1faacb65e
commit e038739ea4
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View file

@ -76,7 +76,7 @@ var dashboardController = function() {
};
//view class
var dashboardView = function() {
var dashboardView = function(ctrl) {
return m("h1", ctrl.greeting);
};
@ -92,7 +92,7 @@ dashboard.controller = function() {
};
//view class
dashboard.view = function() {
dashboard.view = function(ctrl) {
return m("h1", ctrl.greeting);
};