Permalink
Browse files

Merge pull request #9 from maelstrom/master

Correct the jQuery plugin loading order
  • Loading branch information...
2 parents 855bafb + 388c801 commit f9ac1744ced56de1740094e456d48b0c23ad4af6 @paltman paltman committed Jul 1, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 phileo/static/phileo/js/jquery.phileo.js
@@ -1,4 +1,5 @@
-jQuery(function($) {
+!function($){
+ "use strict";
var PhileoLikes = function(form, options) {
this.options = $.extend({}, $.fn.phileo.defaults, options);
@@ -39,4 +40,4 @@ jQuery(function($) {
toggle_class: 'phileo-liked',
count: false
};
-});
+}( window.jQuery || window.ender );

0 comments on commit f9ac174

Please sign in to comment.