[
https://issues.jboss.org/browse/JBIDE-17944?page=com.atlassian.jira.plugi...
]
Ilya Buziuk commented on JBIDE-17944:
-------------------------------------
< But there is a point in having the option to "simulate" standalone apps
So, why not to do this support in CordovaSim. We have focussed on the fact that Ripple
handles only Hybrid mobile projects (In fact it's not) - !ripple.png|thumbnail! (NOTE
this picture is from my
[
cordovasim|https://github.com/ibuziuk/incubator-ripple/commits/cordovasim] branch for
incubator-ripple migration. On master we have only *Apache Cordova / Phonegap* 3.0
platform supported)
So we can extend CordovaSim functionality by managing Mobile Web platform (I think this is
something that will cover a case with stanalone apps <- need to investigate it
properly)
Could you give me for instance of a standalone app for testing?
BrowserSim: Use http: protocol instead of file: for accessing local
files
-------------------------------------------------------------------------
Key: JBIDE-17944
URL:
https://issues.jboss.org/browse/JBIDE-17944
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: browsersim
Reporter: Alexey Kazakov
Assignee: Konstantin Marmalyukov
Fix For: 4.3.0.Alpha1
Attachments: ripple.png
Currently, BrowserSim works through file: protocol but this protocol doesn't work
well with paths relative to the webroot (which start with "/").
So if a local file contains any links to local resources (css, js, ...) via relative
paths then these resources are not available in BrowserSim.
For example all official ionic example projects use such paths. It makes "open with
BrowserSim" feature useless for those projects.
It would be great if BrowserSim uses http: as our HTML5 preview does.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)