Commit ac36e41a authored by Pascal Hartig's avatar Pascal Hartig

Thorax: Removed on-ready init

parent d57de54a
/*global $, Thorax, Backbone*/
/*global Thorax, Backbone*/
/*jshint unused:false*/
var ENTER_KEY = 13;
$(function () {
(function () {
'use strict';
// Kick things off by creating the **App**.
var view = new Thorax.Views.app({
......@@ -10,4 +10,4 @@ $(function () {
});
view.appendTo('body');
Backbone.history.start();
});
}());
/*global Thorax, $, ENTER_KEY*/
$(function () {
/*global Thorax, ENTER_KEY*/
(function () {
'use strict';
// The Application
......@@ -66,4 +66,4 @@ $(function () {
});
}
});
});
}());
/*global Thorax, $, ENTER_KEY*/
$(function () {
/*global Thorax, ENTER_KEY*/
(function () {
'use strict';
// Todo Item View
......@@ -65,4 +65,4 @@ $(function () {
this.model.destroy();
}
});
});
}());
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment