Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0dcf610122
Fetching contributors…

Cannot retrieve contributors at this time

file 78 lines (65 sloc) 3.564 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
<html>
  <head>
    <script src = "js/jquery.js"></script>
    <script src = "js/debug.js"></script>
    <script src = "js/mustache.js"></script>
    <script src = "js/behave.js"></script>
    <script src = "js/sampleData.js"></script>

    <script src="js/jquery.ui.js"></script>
    <script src="js/SlickGrid/lib/jquery.rule-1.0.1.1-min.js"></script>
    <script src="js/SlickGrid/lib/jquery.event.drag.custom.js"></script>

    <!-- ad ie conditional for excanvas -->
    
    <!--[if IE]>
<script type="text/javascript" src="js/Highcharts/js/excanvas.compiled.js"></script>
<![endif]-->
    

    <!-- slick grid requires -->
<link rel="stylesheet" href="js/SlickGrid/slick.grid.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="js/SlickGrid/slick.pager.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="js/SlickGrid/css/custom-theme/jquery-ui-1.7.2.custom.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="js/SlickGrid/examples.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="js/SlickGrid/slick.columnpicker.css" type="text/css" media="screen" charset="utf-8" />

<link rel="stylesheet" href="css/blueprint/screen.css" type="text/css" media="screen, projection">
    <link rel="stylesheet" href="css/blueprint/print.css" type="text/css" media="print">
    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen, projection">
    <!--[if lt IE 8]>
<link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection">
<![endif]-->
 
    <script src="js/SlickGrid/slick.grid.js"></script>
    <script language="JavaScript" src="js/SlickGrid/slick.editors.js"></script>
    <script language="JavaScript" src="js/SlickGrid/slick.grid.js"></script>
    <script language="JavaScript" src="js/SlickGrid/slick.model.js"></script>
    <script language="JavaScript" src="js/SlickGrid/slick.pager.js"></script>
    <script language="JavaScript" src="js/SlickGrid/slick.columnpicker.js"></script>
    <script type="text/javascript" src="js/Highcharts/js/highcharts.js"></script>
    <script type="text/javascript" src="js/jup.js"></script>
    <script type="text/javascript" src="js/jquery.machine.js"></script>
    <script type="text/javascript" src="js/jquery.cookie.js"></script>
    <script type="text/javascript" src="js/prettyPrint.js"></script>

    <!-- end slick grid requires -->

    <script>
      $(document).ready(function(){

        // render views based on JUP templates
        var view = views.view();
        var html;
        if(typeof view == 'object'){
          html = JUP.html(view);
        }
        else{
          html = view;
        }
        //var model = views.model();
        // apply the presenter on the view

        // parse the dom looking for tags that have a date-behaviors attribute
        // lets do some variable replacement and databinding via Mustache (this is a bit of MVVM, but for the most part our databinding is done via)
        // the data-resource tag and the behaviors library. if you are going to be building something with a lot of complex databinding, it should be
        // abstracted into a behavior and not a view.
        html = Mustache.to_html(html, {});
        //debug.log(html);
        $('body').html(html);
        views.presenter();
        behave.attach($("[data-behaviors]"));

      });
      
    </script>
  </head>
  <body><!-- there is no body here --></body>
</html>
Something went wrong with that request. Please try again.