Update jQuery version

Lucas Clemente's Avatar

Lucas Clemente

21 Nov, 2011 01:13 PM

The current beta of 1Password (Version 3.8.10 (build 31186)) is using an outdated version of jQuery, which produces a lot of warnings in the Javascript console on current Webkit browsers (Chrome, Safari). This is pretty annoying if you want to use a browser with the extension installed for web development. It is fixed in jQuery 1.7+.

The message is "event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future."

  1. 2 Posted by Ben Woodruff on 21 Nov, 2011 04:01 PM

    Ben Woodruff's Avatar

    Thanks Lucas, I will pass this info on to our developers for them to process.

    Thanks!
    Ben

  2. 3 Posted by Roustem Karimov on 21 Nov, 2011 04:26 PM

    Roustem Karimov's Avatar

    Thank you, Lucas!

    I am not sure why but I am not seeing these warnings in Safari and Chrome at all. Do you have any other extensions installed that could be causing this?

    The jQuery is getting bigger and bigger with every new version and we'd rather keep the smaller version, if possible.

  3. 4 Posted by Lucas Clemente on 21 Nov, 2011 04:32 PM

    Lucas Clemente's Avatar

    It probably only appears with a current version of Webkit (personally I'm using Chrome 17.0.942.0 dev), so it will probably start to appear in stable versions in a couple of weeks. The ticket in jQuery is here:

    http://bugs.jquery.com/ticket/10531

    It is fixed as of 1.7. If current jQuerys are too big in your opinion (i can totally understand that), then maybe it could be an idea to use a service like Google's closure compiler to strip out the things you don't need.

  4. 5 Posted by Mike Tselikman on 21 Nov, 2011 07:52 PM

    Mike Tselikman's Avatar

    Hi Lucas,

    Thanks for the information, I was able to recreate the error message in the latest webkit nighty. I've passed your message to the devs and we'll try to strip out the error message as soon as we can.

    Please let me know if there's anything else I can help with.

    Thanks again!

  5. System closed this discussion on 07 Jun, 2012 04:24 PM.

Comments are currently closed for this discussion. You can start a new one.