Skip to content

Instantly share code, notes, and snippets.

@efleming969
Created April 23, 2009 02:51
Show Gist options
  • Save efleming969/100256 to your computer and use it in GitHub Desktop.
Save efleming969/100256 to your computer and use it in GitHub Desktop.
$.fn.namespace.Bar = {
messageBar: 'bar message'
};
$.fn.namespace.Foo = {
messageFoo: 'foo message'
};
// take the first object and mix it into the second object
$.mixed = $.extend( $.fn.namespace.Foo, $.fn.namespace.Bar);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment