GithubHelp home page GithubHelp logo

Comments (8)

jbeard4 avatar jbeard4 commented on September 17, 2024

I'll look into it.

from scion.

jbeard4 avatar jbeard4 commented on September 17, 2024

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.

mastasushi avatar mastasushi commented on September 17, 2024

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.

jbeard4 avatar jbeard4 commented on September 17, 2024

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.

mastasushi avatar mastasushi commented on September 17, 2024

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.

jbeard4 avatar jbeard4 commented on September 17, 2024

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.

jbeard4 avatar jbeard4 commented on September 17, 2024

If you find other bugs, I'd appreciate it if you could open new issues, as it makes them easier to track.

from scion.

mastasushi avatar mastasushi commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.