diff options
Diffstat (limited to 'resources/jquery/jquery.getAttrs.js')
-rw-r--r-- | resources/jquery/jquery.getAttrs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/jquery/jquery.getAttrs.js b/resources/jquery/jquery.getAttrs.js index c05012d9..25b806b6 100644 --- a/resources/jquery/jquery.getAttrs.js +++ b/resources/jquery/jquery.getAttrs.js @@ -3,8 +3,8 @@ * * @author Timo Tijhof, 2011 */ -jQuery.fn.getAttrs = function( all ) { - var map = this[0].attributes, +jQuery.fn.getAttrs = function ( all ) { + var map = this[0].attributes, attrs = {}, len = map.length, i, v; |