summaryrefslogtreecommitdiffstats
path: root/third_party/webkit/PerformanceTests/Speedometer/resources/todomvc/architecture-examples/backbone/js/app.js
blob: 4c4bde363a31e8e383bbf276fc4ccb11eda263db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*global $ */
/*jshint unused:false */
var app = app || {};
var ENTER_KEY = 13;
var ESC_KEY = 27;

$(function () {
    'use strict';

    // kick things off by creating the `App`
    window.appView = new app.AppView();

    var dummyNodeToNotifyAppIsReady = document.createElement('div');
    dummyNodeToNotifyAppIsReady.id = 'appIsReady';
    document.body.appendChild(dummyNodeToNotifyAppIsReady);
});