Commit 47a21f2d authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #522 from rkulla/remove-domready-check

Replaced DOMReady checks with immediately-invoked function expressions
parents 249b69ac b62ab50a
/*global Backbone _ $ ENTER_KEY */ /*global Backbone _ $ ENTER_KEY */
var app = app || {}; var app = app || {};
$(function ($) { (function ($) {
'use strict'; 'use strict';
// The Application // The Application
...@@ -126,4 +126,4 @@ $(function ($) { ...@@ -126,4 +126,4 @@ $(function ($) {
}); });
} }
}); });
}); })(jQuery);
/*global Backbone _ $ ENTER_KEY */ /*global Backbone _ $ ENTER_KEY */
var app = app || {}; var app = app || {};
$(function () { (function ($) {
'use strict'; 'use strict';
// Todo Item View // Todo Item View
...@@ -90,4 +90,4 @@ $(function () { ...@@ -90,4 +90,4 @@ $(function () {
this.model.destroy(); this.model.destroy();
} }
}); });
}); })(jQuery);
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