Giter Site home page Giter Site logo

Comments (9)

cpojer avatar cpojer commented on July 22, 2024

You are right. The docs should say that this is actually an object.

You can do if (Browser.Plugins.Flash){ doSomething(); }

Please fix it and send us a pull request :)

from mootools-core.

arian avatar arian commented on July 22, 2024

By fix it's: press fork button on github, find the right markdown file (Docs/Browser/Browser.md) on github, click "edit file" and fix it on github, press the pull request button on github.

Did i mention github is pretty nice?

from mootools-core.

seanmonstar avatar seanmonstar commented on July 22, 2024

@arian: too many steps. simply navigate to the file on the mootools repo, click the button "Fork and edit this file."

from mootools-core.

adamnbowen avatar adamnbowen commented on July 22, 2024

okay, I'll make the modification to the documentation tomorrow.

from mootools-core.

cpojer avatar cpojer commented on July 22, 2024

Thanks ;P that was quick.

from mootools-core.

adamnbowen avatar adamnbowen commented on July 22, 2024

By "tomorrow", I apparently meant "15 minutes from now". I've made the documentation change.

@cpojer --just as a note, the code you wrote is incorrect --an iPad will still see Browser.Plugins.Flash as truthy, so you must do

if (Browser.Plugins.Flash.version !== 0) {
    alert('Flash is installed');
}

from mootools-core.

cpojer avatar cpojer commented on July 22, 2024

Way ahead of you.

from mootools-core.

cpojer avatar cpojer commented on July 22, 2024

Oh yeah, you are right. Flash is dead tho :P

from mootools-core.

adamnbowen avatar adamnbowen commented on July 22, 2024

alas, the client still needed SlideShowPro (and therefore Flash)... Should probably just use its xml file from now on and serve that business with javascript.

from mootools-core.

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.