diff --git a/architecture-examples/backbone/js/views/app.js b/architecture-examples/backbone/js/views/app.js index efda414811..aa48486539 100644 --- a/architecture-examples/backbone/js/views/app.js +++ b/architecture-examples/backbone/js/views/app.js @@ -1,7 +1,7 @@ /*global Backbone _ $ ENTER_KEY */ var app = app || {}; -$(function ($) { +(function ($) { 'use strict'; // The Application @@ -126,4 +126,4 @@ $(function ($) { }); } }); -}); +})(jQuery); diff --git a/architecture-examples/backbone/js/views/todos.js b/architecture-examples/backbone/js/views/todos.js index 936501f1a6..c911b791e8 100644 --- a/architecture-examples/backbone/js/views/todos.js +++ b/architecture-examples/backbone/js/views/todos.js @@ -1,7 +1,7 @@ /*global Backbone _ $ ENTER_KEY */ var app = app || {}; -$(function () { +(function ($) { 'use strict'; // Todo Item View @@ -90,4 +90,4 @@ $(function () { this.model.destroy(); } }); -}); +})(jQuery);