Giter Site home page Giter Site logo

Errors on IE 8 about sweetalert HOT 4 CLOSED

t4t5 avatar t4t5 commented on August 15, 2024
Errors on IE 8

from sweetalert.

Comments (4)

k00ka avatar k00ka commented on August 15, 2024

+1

from sweetalert.

ImBobby avatar ImBobby commented on August 15, 2024

That's because IE8 has no support for Array indexof. I suggest to add polyfill.

from sweetalert.

FrankFang avatar FrankFang commented on August 15, 2024

Yeah. indexOf is needed.
Even though I add es5shim to the example page, there are some errors:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)
Timestamp: Sat, 4 Oct 2014 05:47:24 UTC


Message: Object expected
Line: 79
Char: 7
Code: 0
URI: http://172.22.31.101:8000/lib/sweet-alert.js


Message: Object doesn't support this property or method
Line: 242
Char: 2
Code: 0
URI: http://172.22.31.101:8000/example/

Because IE 8 does not support getComputedStyle
:(

from sweetalert.

 avatar commented on August 15, 2024

IE 8 is not a supported browser for the component, as stated in issue #6

from sweetalert.

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.