jquery/jquery — comment on commit 8bc60bab5dd9747e7ae06c3fdb0c60782d346ff0
File: src/exports.js line 18
By davidmurdoch:

`typeof fn` lies in certain circumstances; I can't find the details on it now, but @gnarf knows more.

Also, replacing `typeof define === "function"` with `jQuery.isFunction(window.define)` saves 2 bytes when deflated with [this deflator](http://www.vervestudios.co/projects/compression-tests/snippet-deflator).

Additionally, changing jQuery's intro to `(function( window, define, undefined ) {` and outro to `})( window, define );` sheds 57 bytes (deflated) from the original when using `jQuery.isFunction(define)` in place of `typeof define === "function"`.

Note that I'm using http://code.jquery.com/jquery-git.js minified with http://marijnhaverbeke.nl/uglifyjs for the deflated size comparisons...which means the copyright info was removed - which *might* affect the results of the deflate algo.