Skip to content

Instantly share code, notes, and snippets.

@davemo
Created March 8, 2010 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davemo/325774 to your computer and use it in GitHub Desktop.
Save davemo/325774 to your computer and use it in GitHub Desktop.
// DEFAULT 2.1.0 Code
if(jQuery)(
function(jQuery){
jQuery.extend(jQuery.fn,{
uploadify:function(options) {
jQuery(this).each(function(){
// BAD GLOBAL, BAD, yields "Object does not support this property or method" in IE7/8
settings = jQuery.extend({
// FIXED 2.1.0 Code
if(jQuery)(
function(jQuery){
jQuery.extend(jQuery.fn,{
uploadify:function(options) {
jQuery(this).each(function(){
// FIXED :)
var settings = jQuery.extend({
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment