Old Tree

by obobruyko

HTML

<link rel="stylesheet" type="text/css" href="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/themes/default/containers.css">
<link rel="stylesheet" type="text/css" href="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/themes/default/controls.css">
<link rel="stylesheet" type="text/css" href="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/themes/default/theme.css">
<link rel="stylesheet" type="text/css" href="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/themes/default/buttons.css">
      <link rel="stylesheet" type="text/css" href="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/themes/default/lists.css">
    <link rel="stylesheet" type="text/css" href="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/themes/default/pageSpecific.css">
    <link rel="stylesheet" type="text/css" href="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/themes/default/dashboard/designer.css">
<script src="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/scripts/bower_components/requirejs/require.js"></script>
<script type='text/javascript' src="http://build-master.jaspersoft.com:5980/jrs-pro-trunk/scripts/require.config.js"></script>
<script>
    var __jrsConfigs__ = {
        contextPath: "http://build-master.jaspersoft.com:5980/jrs-pro-trunk",
        userLocale: "en",
        isXdm: true
    };

    require.config({
        baseUrl: __jrsConfigs__.contextPath + "/scripts",
    });
</script>
<div class="dashboardDesigner ">      
</div>

JavaScript

require([
    "dashboard/view/designer/SidebarView",
    'dashboard/model/DashboardModel'

], function (SidebarView, DashboardModel) {
    
    var model = new DashboardModel({}, {contextPath: "/jrs-pro-trunk"}),
        sidebar = new SidebarView({model: model});    

    $(".dashboardDesigner").html(sidebar.render().$el);
});