diff options
author | Stéphane HULARD <s.hulard@gmail.com> | 2012-11-02 18:15:19 +0100 |
---|---|---|
committer | Stéphane HULARD <s.hulard@gmail.com> | 2012-11-02 18:15:19 +0100 |
commit | 3211a494d1129ee38af6ec1aa201e197d6b6ac04 (patch) | |
tree | f7eea1fedfd28503fa1c9080e4cc910a3e38d026 /jquery-scrollspy.js | |
parent | 180f5793cd1f823052126b5180cb93579f930baa (diff) | |
download | jquery-scrollspy-3211a494d1129ee38af6ec1aa201e197d6b6ac04.zip jquery-scrollspy-3211a494d1129ee38af6ec1aa201e197d6b6ac04.tar.gz jquery-scrollspy-3211a494d1129ee38af6ec1aa201e197d6b6ac04.tar.bz2 |
Compatibility with UglifyJS
When uglify process the scrollspy, there was an error because document
was replaced in function parameters at line 6 by a small variable name.
Reference to document object was lost until it is given in function
call at line 96
Diffstat (limited to 'jquery-scrollspy.js')
-rw-r--r-- | jquery-scrollspy.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jquery-scrollspy.js b/jquery-scrollspy.js index 71b4a36..2b7f61c 100644 --- a/jquery-scrollspy.js +++ b/jquery-scrollspy.js @@ -3,8 +3,6 @@ * Author: @sxalexander * Licensed under the MIT license */ - - ;(function ( $, window, document, undefined ) { $.fn.extend({ @@ -95,4 +93,4 @@ }) -})( jQuery, window ); +})( jQuery, window, document, undefined ); |