]> git.gir.st - VimFx.git/commit
Fix Market.getElementRect function.
authorLordJZ <LordJZ@outlook.com>
Sat, 6 Apr 2013 14:40:12 +0000 (18:40 +0400)
committerLordJZ <LordJZ@outlook.com>
Sat, 6 Apr 2013 14:40:12 +0000 (18:40 +0400)
commit2dfc574d1b6e48d1837dba86714b8b900b1da3ab
tree4997d45deca78b874dd54f7896dbc7930a25b632
parentdd6e6dd77819b250b6c5b55b778e7b93cca055e4
Fix Market.getElementRect function.

The current coffee code compiles to the following javascript code:

        if (computedStyle.getPropertyValue('float' !== 'none' || computedStyle.getPropertyValue('position' === 'absolute'))) {
          if (childRect = getElementRect(childElement)) {
            childRect;
          }
        }
        return void 0;

That is obviously not the expected behavior.
extension/packages/marker.coffee
Imprint / Impressum