[ https://issues.apache.org/jira/browse/CB-5759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867570#comment-13867570 ]
Jonathan Silverman commented on CB-5759: ---------------------------------------- 1. http://xdk-software.intel.com/ Basically it's just an IDE for Cordova. It includes Ripple, Weinre, Chrome Dev Tools, Code the Web, and bunch of the other stuff. Like VB for HTML5 dev if you ask me. And it's written in node-webkit, which is pretty cool. 2. I will try removing "use strict" when I get to work tomorrow, I will update this ticket with my results. It is built into the project type I generated in the IDE it seems. 3. This may be the case. Weinre is the only thing I know and its whats built into XDK. I am running OS X Mavericks at work. For emulator XDK uses Apache Ripple which is web-based and runs no true emulator. This has its ups and downs. Its faster but a few things can be different (not much) like certificates for instance. 4. Don't know how to view the contents of those files. They are built into the internal http server. Something like charles http proxy maybe? I wouldn't suggest going and digging through their code either, I have no idea about any of it. Maybe that would be something to ask Intel at their forum? (https://www.html5dev-software.intel.com/) 5. I don't personally know any of the XDK devs, but they have filed internal bug reports and responded to me in my thread here: https://www.html5dev-software.intel.com/viewtopic.php?f=34&t=5024 ... No idea about the mailing lists, I'm not on any. I'm a newbie to mobile HTML5 dev in general (I came from RoR.) A friend referred me to XDK. > Conflict between xhr.js from Intel XDK and Weinre remote hook script > -------------------------------------------------------------------- > > Key: CB-5759 > URL: https://issues.apache.org/jira/browse/CB-5759 > Project: Apache Cordova > Issue Type: Bug > Components: weinre > Affects Versions: 2.9.0 > Environment: OS X, Windows > Reporter: Jonathan Silverman > Assignee: Patrick Mueller > Priority: Critical > Labels: javascript > > I have code that proves a conflict between xhr.js and weinre. > Cross-post from: > https://www.html5dev-software.intel.com/viewtopic.php?f=34&t=5024 > Adding xhr.js causes Weinre to not work, as no connectable targets appear. > http://cl.ly/image/1L0l060e381G > I can confirm that xhr.js and Weinre conflict. If they are both added, > neither work. If one is added, and not the other, it works. > Example: > {code} > <script src="intelxdk.js"></script> > <script src="xhr.js"></script> > <script type="text/javascript"> > /* This code is used to run as soon as Intel activates */ > var onDeviceReady=function(){ > //hide splash screen > intel.xdk.device.hideSplashScreen(); > > $.get("https://dev-1-web-geo.meteostar.local").done(function(data){ > alert(data); }); > }; > document.addEventListener("intel.xdk.device.ready",onDeviceReady,false); > </script> > {code} > Works > {code} > <script src="intelxdk.js"></script> > <script > src="http://debug-software.intel.com/target/target-script-min.js#QhYeZC6N-jY-XBnNnuS5DqN6Ti72PEzRd1Oeu_TKT9g"></script> > <script src="xhr.js"></script> > <script type="text/javascript"> > /* This code is used to run as soon as Intel activates */ > var onDeviceReady=function(){ > //hide splash screen > intel.xdk.device.hideSplashScreen(); > > $.get("https://dev-1-web-geo.meteostar.local").done(function(data){ > alert(data); }); > }; > document.addEventListener("intel.xdk.device.ready",onDeviceReady,false); > </script> > {code} > Doesn't > It doesn't seem to matter where you put the Weinre script. No matter what, it > breaks xhr.js. It broke when included both before and after the xhr.js > include. > To me, this is critical because I would like to use Weinre to debug and test > while using xhr.js to enable cross-origin XHRs to the app. > This seems to affect Weinre 2.0.0-pre-HHOSN197, if that's the correct version > number. -- This message was sent by Atlassian JIRA (v6.1.5#6160)