Skip to content

Instantly share code, notes, and snippets.

@toddfreese
Created January 18, 2012 20:52
Show Gist options
  • Select an option

  • Save toddfreese/1635544 to your computer and use it in GitHub Desktop.

Select an option

Save toddfreese/1635544 to your computer and use it in GitHub Desktop.
if (_postsFrameChangedNotifications && !_inhibitFrameAndBoundsChangedNotifications)
objj_msgSend(CachedNotificationCenter, "postNotificationName:object:", CPViewFrameDidChangeNotification, self);
var transform = _superview ? _superview._boundsTransform : NULL;
if (transform) var ____p = { x:CGPointMake(origin.x, origin.y).x * transform.a + CGPointMake(origin.x, origin.y).y * transform.c + transform.tx, y:CGPointMake(origin.x, origin.y).x * transform.b + CGPointMake(origin.x, origin.y).y * transform.d + transform.ty }; else var ____p = { x:origin.x, y:origin.y }; _DOMElement.style.left = ROUND(____p.x) + "px";_DOMElement.style.top = ROUND(____p.y) + "px";;
}
IE is giving an SCRIPT87: Invalid argument.
anonymous code (107), line 376 character 360
on the following:
_DOMElement.style.top = ROUND(____p.y) + "px"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment