Giter VIP home page Giter VIP logo

Comments (3)

olivernn avatar olivernn commented on May 12, 2024

What version of Mobile Safari are you using?

That line uses Function.prototype.bind which I think isn't/wasn't available on some older versions of Safari and Mobile Safari.

lunr.js assumes a modern browser that supports Function.prototype.bind, if you need it to work in older browsers that do not support this you need to use a shim such as augment.js or es5-shim.

If you are still having problems then please put together a simple example of the problem, you can use this fiddle as the basis, that way I can take a closer look at the problem.

from lunr.js.

CptSchmock avatar CptSchmock commented on May 12, 2024

Thank you for your quick answer. The version of iOS was 4.3.1. I updated it to version 5.1.1. Now the first error is not shown anymore. Instead, Safari always shows the JavaScript error "TypeError 'undefined' is not a function". I'll try it with augment.js and inform you about the results.

from lunr.js.

CptSchmock avatar CptSchmock commented on May 12, 2024

OK, it's working with augment.js. I'll close this issue. Thank you again.

from lunr.js.

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.