Commit 025b5e2f authored by Christian Ebert's avatar Christian Ebert
Browse files

Issue #55: leading "bang syntax" for JS

Turning the self executing function into a boolean expression
will make even more sure that minification and loading in conjunction
with other minified scripts does not cause problems.

fp5's flowplayer.js uses the same convention.
parent fc034491
......@@ -9,7 +9,7 @@
* Since : March 2008
* Date : @DATE
*/
(function() {
!function() {
var IE = document.all,
URL = 'http://get.adobe.com/flashplayer',
......@@ -300,4 +300,4 @@
};
}
})();
}();
......@@ -21,7 +21,7 @@
* Date: @DATE
* Revision: @REVISION
*/
(function() {
!function() {
/*
FEATURES
......@@ -1291,4 +1291,4 @@ if (typeof jQuery == 'function') {
//}}}
})();
\ No newline at end of file
}();
\ No newline at end of file
......@@ -12,7 +12,7 @@
* Released under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
(function($) {
!function($) {
$f.addPlugin("bitrateselect", function(container, options) {
......@@ -118,4 +118,4 @@
return self;
});
})(jQuery);
}(jQuery);
......@@ -10,7 +10,7 @@
* http://www.opensource.org/licenses/mit-license.php
*/
(function() {
!function() {
// converts paths to absolute URL's as required in external sites
function toAbsolute(url, base) {
......@@ -90,4 +90,4 @@
});
})();
}();
......@@ -11,7 +11,7 @@
*
*/
(function($) {
!function($) {
$f.addPlugin("playlist", function(wrap, options) {
......@@ -240,4 +240,4 @@
});
})(jQuery);
\ No newline at end of file
}(jQuery);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment