Skip to content

Commit

Permalink
Remove undocumented nix param.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanve committed Mar 21, 2013
1 parent 4fe8692 commit 798c7ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion verge.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
var o = {};
el && !el.nodeType && (el = el[0]);
if (!el || 1 !== el.nodeType) { return false; }
cushion = typeof cushion == 'number' && 2 == arguments.length && cushion || 0;
cushion = typeof cushion == 'number' && cushion || 0;
el = el.getBoundingClientRect(); // read-only
o['width'] = (o['right'] = el['right'] + cushion) - (o['left'] = el['left'] - cushion);
o['height'] = (o['bottom'] = el['bottom'] + cushion) - (o['top'] = el['top'] - cushion);
Expand All @@ -124,6 +124,7 @@

/**
* Get the viewport aspect ratio (or the aspect ratio of an object or element)
* @since 1.7.0
* @param {Object=} o optional object with width/height props or methods
* @return {number}
* @link w3.org/TR/css3-mediaqueries/#orientation
Expand Down

0 comments on commit 798c7ed

Please sign in to comment.