Permalink
Browse files

Merge pull request #471 from passy/thorax-ready

Thorax: Removed on-ready initializtions
  • Loading branch information...
2 parents d57de54 + ac36e41 commit ed62c2faf20b361e3dc9e6aff3898ab92e783812 @passy passy committed Feb 26, 2013
@@ -1,13 +1,13 @@
-/*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({
collection: window.app.Todos
});
view.appendTo('body');
Backbone.history.start();
-});
+}());
@@ -1,5 +1,5 @@
-/*global Thorax, $, ENTER_KEY*/
-$(function () {
+/*global Thorax, ENTER_KEY*/
+(function () {
'use strict';
// The Application
@@ -66,4 +66,4 @@ $(function () {
});
}
});
-});
+}());
@@ -1,5 +1,5 @@
-/*global Thorax, $, ENTER_KEY*/
-$(function () {
+/*global Thorax, ENTER_KEY*/
+(function () {
'use strict';
// Todo Item View
@@ -65,4 +65,4 @@ $(function () {
this.model.destroy();
}
});
-});
+}());

0 comments on commit ed62c2f

Please sign in to comment.