Skip to content

Commit

Permalink
Merge pull request chriskacerguis#558 from softwarespot/ajax-arguments
Browse files Browse the repository at this point in the history
Swapped arguments around
  • Loading branch information
chriskacerguis committed Sep 14, 2015
2 parents 10151af + e3af4bc commit 072753b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/views/rest_server.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
var App = App || {};

// Basic rest module using an IIFE as a way of enclosing private variables
App.rest = (function ($, window) {
App.rest = (function (window, $) {
// Fields

// Cache the jQuery selector
Expand Down Expand Up @@ -175,7 +175,7 @@ function cacheDom() {
bind();
}
};
})(jQuery, window);
})(window, jQuery);

// DOM ready event
$(function () {
Expand Down

0 comments on commit 072753b

Please sign in to comment.