todomvc
Version:
> Helping you select an MV\* framework
20 lines (14 loc) • 350 B
JavaScript
/*global jQuery, sap */
/*jshint unused:false */
(function () {
'use strict';
var oRootView;
jQuery.sap.registerModulePath('todo', 'js/todo');
// build the application root view and place on page
oRootView = sap.ui.view({
type: sap.ui.core.mvc.ViewType.JS,
id: 'todoView',
viewName: 'todo.Todo'
});
oRootView.placeAt('main');
})();