Comments (8)
I'll look into it.
from scion.
Looks like the IE DOM compatibility layer was broken. The fix is checked in, and a new nightly build is posted to
http://jbeard4.github.com/SCION/builds/latest/scion.js
http://jbeard4.github.com/SCION/builds/latest/scion-min.js
The demo has been updated now too, and has been tested in IE6-9, and recent Safari, Firefox, and Chrome.
It looks like the demo would also work in Fennec, if it listened for touch events.
from scion.
Hello,
I'm trying to use your library (the drag'n drop demo) in an application, and it works great in Firefox (doen't work in Chrome on a local file access, because of security problems, but nevermind), but it doesn't seem to work in Internet Explorer 8 and 9.
I've used the following libraries :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/es5-shim/1.2.4/es5-shim.min.js"></script> <script type="text/javascript" src="http://jbeard4.github.com/SCION/builds/latest/scion.js"></script>and it gives me an error on the following lines :
var util = require('../core/util/util'),
basePlatform = require('../embedded/platform').platform;
//browser mostly just inherits path from basePlatform
exports.platform = util.merge(Object.create(basePlatform),{
Do you have any idea on how to make it work ?
Thank you.
from scion.
Are you using the nightly build?
If you are using the nightly build, and you're still experiencing problems in IE, can you please link to a reduced test case?
from scion.
Yes I'm using the nightly build, and your fix, worked just fine ! Thanks again for that ! But there is still the problem when I try to call a function I already defined.
Se here is a reduced test case :
https://docs.google.com/open?id=0B0TzWzNoPi_JMjJyMFZZSnVvZUk
basically, you start in "OFF" mode. In the tag, I call
say("OFF")
which then does alert(message).
The "Active State" should display the current state.
Then you can change state with the radio button.
Once you are in "ON" mode, you can travel through modes using the PB2 button.
That test case works just fine in everybrowser except IE.
from scion.
Good catch. SCION was not using the dom compatibility layer on top-level scripts. Fixed in f0549be
You can just grab the latest built version out of the new dist/ folder.
from scion.
If you find other bugs, I'd appreciate it if you could open new issues, as it makes them easier to track.
from scion.
Thanks a lot !
Sorry for the late reply, there was christmas holidays and I was testing your modification but couldn't make it work... but then I realized there was a mistake on my side... Now it works like a charm !
Sure next time I'd properly create a new bug (I'm not used to github yet).
Happy new year !
from scion.
Related Issues (20)
- The target id parser is a URL parser, not a URI parser HOT 3
- TypeError: chunk.charAt is not a function HOT 9
- validate the fnModel argument in SCION constructor and throw an error if it is invalid
- should reject an scxml document containing data without @id
- should reject an scxml document containing assign without @location
- should reject an scxml document containing foreach without @item
- should reject an scxml document containing foreach without @array
- should accept an scxml document containing foreach with object literal @array
- should validate param tags at parse time
- reject scxml documents with raise and no @event at parse time
- validate send *expr attributes at parse time
- Add namespace to custom action tag names
- Multiple state identifiers in initial attribute not supported HOT 2
- [README.MD] Demo links do not work
- Documentation and examples HOT 2
- improve documentation for compiling scxml HOT 10
- improve documentation concerning interface to statemachine HOT 20
- accessing application context from scxml HOT 1
- Starting state machine within running state machine HOT 17
- empty <datamodel> block throws "Unexpected token" SyntaxError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scion.