summaryrefslogtreecommitdiffstats
path: root/examples/infinite-scroll/js/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/infinite-scroll/js/router.js')
-rw-r--r--examples/infinite-scroll/js/router.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/infinite-scroll/js/router.js b/examples/infinite-scroll/js/router.js
index 2f65042..7f39706 100644
--- a/examples/infinite-scroll/js/router.js
+++ b/examples/infinite-scroll/js/router.js
@@ -16,9 +16,9 @@ define([
var router = new AppRouter(options);
router.on('route:defaultAction', function (actions) {
- require(['views/dashboard/page'], function (DashboardPage) {
- var dashboardPage = Vm.create(appView, 'DashboardPage', DashboardPage);
- dashboardPage.render();
+ require(['views/twitter/widget'], function (TwitterWidget) {
+ var twitterWidget = Vm.create(appView, 'TwitterWidget', TwitterWidget);
+ twitterWidget.render();
});
});