Most of our IIFE (Immediately-Invoced Function Expression) were
already the same way, these two were different. Made them
consistent (parenthesis on the outside).
$ ack '\}\s*\([^)]+\)\s*\)' --js resources/src/ skins/
81 matches (0 false positives)
$ ack '\}\s*\)\s*\(' --js resources/src/ skins/
6 matches (2 false positives, 2 in upstream forks)
Fixed the two matches in the last one that weren't upstream forks.
Change-Id: I51da0e7eb3c0a7071af0ebaa3310e31c99b9d3a5
}
}
}
- } )();
+ }() );
} );
} );
-} )( jQuery, mediaWiki );
+}( jQuery, mediaWiki ) );
// Make sure we don't unset util.$content if it was preset and we don't find anything
return util.$content;
- } )();
+ }() );
},
/* Main body */