adjust-engine
Advanced tools
Comparing version 2.0.2 to 2.0.3
2.0.3 / 2015-08-31 | ||
================== | ||
* idempotent orientation | ||
2.0.2 / 2015-08-31 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -46,3 +46,2 @@ /** | ||
var target = options.target ? expr(options.target) : mirror(expr(options.attachment)) | ||
var orientation = assign({}, attachment); | ||
@@ -53,2 +52,3 @@ return function adjust(attachment_position, target_position, viewport_position) { | ||
var width = attachment_position.width || attachment_position.right - attachment_position.left | ||
var orientation = assign({}, attachment); | ||
@@ -55,0 +55,0 @@ // calculate the target height and width |
{ | ||
"name": "adjust-engine", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "adjust an element relative to another element", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
8739