incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-751) Undefined function is called when orientation change
Date Sun, 17 Jun 2012 20:01:42 GMT

    [ https://issues.apache.org/jira/browse/CB-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393596#comment-13393596
] 

Filip Maj commented on CB-751:
------------------------------

After we land 2.0 a lot of the current Cordova APIs will need to updated/deprecated, and newer,
more relevant specs/APIs integrated into Cordova. We will wait until then. 
                
> Undefined function is called when orientation change
> ----------------------------------------------------
>
>                 Key: CB-751
>                 URL: https://issues.apache.org/jira/browse/CB-751
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.0, 1.6.1, 1.7.0
>         Environment: ipod, ios 5.1
>            Reporter: Clement Vollet
>            Assignee: Shazron Abdullah
>             Fix For: 1.8.0
>
>
> I get an undefined exception when changing the orientation of the device.
> Steps to "recreate":
> in a new project, add the following in index.html:
> 	function onDeviceReady()
> 	{
> 		// do your thing!
> 		navigator.notification.alert("Cordova is working")
>         window.onerror=function(error_msg, URL, line_number) {
>             console.log("WINDOW > Message: " + error_msg);
>             console.log("WINDOW > URL: " + URL);
>             console.log("WINDOW > Line: " + line_number);
>         }
> 	}
> And then in the simulator, rotate the screen.

--
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