ariatemplates/ariatemplates — pull request #677 by jakub-g (2013-08-21 09:50:33+00:00)
Title: refactor some positioning/viewport calculations

1) don't recalculate the viewport size in `onViewportResized` in Dialog, take it from event data
2) round to full pixels in `utils.Dom.calculatePosition` (`getBoundingClientRect` returns floats)