scratch pad

scratchpad for some new app UI

by shyamh

HTML

<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<body>
    <div class="label">Scratchpad</div>
    <div id="container"></div>
</body>

CSS

BODY {
    margin: 20px;
}
DIV {
    margin: 0px;
}
#container {
}

JavaScript

function weekTable(id, data) {

    _.extend(this, Backbone.Events);

    var _i = this,

        _$el = $(_.template(_t, {
            id: id,
            width: (width || 100)
        })),

        _el = _$el[0];

    var _ctor = function () {}();
}


// Test it out.
var container = $('#container:first')[0];