incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-44) "resume" event fires when "pause" is triggered
Date Mon, 06 Feb 2012 21:10:59 GMT

     [ https://issues.apache.org/jira/browse/CB-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah resolved CB-44.
--------------------------------

    Resolution: Not A Problem
    
> "resume" event fires when "pause" is triggered
> ----------------------------------------------
>
>                 Key: CB-44
>                 URL: https://issues.apache.org/jira/browse/CB-44
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/314
> by: https://github.com/tifroz
> Setting up the resume listener within the "pause" handler causes the resume event to
fire upon "pause"
> ```javascript
>   document.addEventListener("pause", function() { 
>        //Do something
>        document.addEventListener("resume", function(){
>            //The code here wil actually execute when "pause" is triggered!!!
>         },false); 
>     }, false); 
> ```

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message