Permalink
Browse files

Move the closure declaration above the usage comment so the comment w…

…ill not get included in the compressed version of jquery_ujs produced by uglifier.
  • Loading branch information...
bhollis committed Nov 8, 2011
1 parent a334571 commit 60f9f4aea14a0ec3a30e2356bcb4b6ca7d89c563
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/rails.js
View
@@ -1,3 +1,5 @@
+(function($, undefined) {
+
/**
* Unobtrusive scripting adapter for jQuery
*
@@ -43,7 +45,6 @@
* });
*/
-(function($, undefined) {
// Shorthand to make it a little easier to call public rails functions from within rails.js
var rails;

0 comments on commit 60f9f4a

Please sign in to comment.