Commit b62ab50a authored by Ryan Kulla's avatar Ryan Kulla

Replaced DOMReady checks with immediately-invoked function expressions that...

Replaced DOMReady checks with immediately-invoked function expressions that explicitly pass jQuery to the local scope
parent 249b69ac
/*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