Skip to content

Commit

Permalink
Merge pull request tastejs#522 from rkulla/remove-domready-check
Browse files Browse the repository at this point in the history
Replaced DOMReady checks with immediately-invoked function expressions
  • Loading branch information
passy committed Apr 5, 2013
2 parents 4add451 + 46cb26a commit 60c92ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions architecture-examples/backbone/js/views/app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*global Backbone _ $ ENTER_KEY */
var app = app || {};

$(function ($) {
(function ($) {
'use strict';

// The Application
Expand Down Expand Up @@ -126,4 +126,4 @@ $(function ($) {
});
}
});
});
})(jQuery);
4 changes: 2 additions & 2 deletions architecture-examples/backbone/js/views/todos.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*global Backbone _ $ ENTER_KEY */
var app = app || {};

$(function () {
(function ($) {
'use strict';

// Todo Item View
Expand Down Expand Up @@ -90,4 +90,4 @@ $(function () {
this.model.destroy();
}
});
});
})(jQuery);

0 comments on commit 60c92ce

Please sign in to comment.