diff --git a/AppKit/CPApplication.j b/AppKit/CPApplication.j index 89aad865e..2f67b076d 100644 --- a/AppKit/CPApplication.j +++ b/AppKit/CPApplication.j @@ -912,8 +912,6 @@ CPRunContinuesResponse = -1002; - (void)setCallback:(Function)aCallback forNextEventMatchingMask:(unsigned int)aMask untilDate:(CPDate)anExpiration inMode:(CPString)aMode dequeue:(BOOL)shouldDequeue { _eventListeners.push(_CPEventListenerMake(aMask, aCallback)); - - if (_eventListeners.length == 3) objj_debug_print_backtrace(); } - (CPEvent)setTarget:(id)aTarget selector:(SEL)aSelector forNextEventMatchingMask:(unsigned int)aMask untilDate:(CPDate)anExpiration inMode:(CPString)aMode dequeue:(BOOL)shouldDequeue diff --git a/AppKit/CoreAnimation/CALayer.j b/AppKit/CoreAnimation/CALayer.j index 4df328715..7a27d7a34 100644 --- a/AppKit/CoreAnimation/CALayer.j +++ b/AppKit/CoreAnimation/CALayer.j @@ -777,8 +777,7 @@ if (_DOMContentsElement && aLayer._zPosition > _DOMContentsElement.style.zIndex) @ignore */ + (void)runLoopUpdateLayers -{if (window.oops) {alert(window.latest); objj_debug_print_backtrace();} - window.loop = true; +{ for (UID in CALayerRegisteredRunLoopUpdates) { var layer = CALayerRegisteredRunLoopUpdates[UID],