Commit ed62c2fa authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #471 from passy/thorax-ready

Thorax: Removed on-ready initializtions
parents d57de54a ac36e41a
/*global $, Thorax, Backbone*/ /*global Thorax, Backbone*/
/*jshint unused:false*/ /*jshint unused:false*/
var ENTER_KEY = 13; var ENTER_KEY = 13;
$(function () { (function () {
'use strict'; 'use strict';
// Kick things off by creating the **App**. // Kick things off by creating the **App**.
var view = new Thorax.Views.app({ var view = new Thorax.Views.app({
...@@ -10,4 +10,4 @@ $(function () { ...@@ -10,4 +10,4 @@ $(function () {
}); });
view.appendTo('body'); view.appendTo('body');
Backbone.history.start(); Backbone.history.start();
}); }());
/*global Thorax, $, ENTER_KEY*/ /*global Thorax, ENTER_KEY*/
$(function () { (function () {
'use strict'; 'use strict';
// The Application // The Application
...@@ -66,4 +66,4 @@ $(function () { ...@@ -66,4 +66,4 @@ $(function () {
}); });
} }
}); });
}); }());
/*global Thorax, $, ENTER_KEY*/ /*global Thorax, ENTER_KEY*/
$(function () { (function () {
'use strict'; 'use strict';
// Todo Item View // Todo Item View
...@@ -65,4 +65,4 @@ $(function () { ...@@ -65,4 +65,4 @@ $(function () {
this.model.destroy(); 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