Warning to Spry folks upgrading to 1.5

One of the shortcuts that Spry borrowed from prototype was this:

var someitem = $("idofitem");

In order to avoid conflicts with folks using Spry and Prototype or other frameworks, this syntax has been changed:

var someitem = Spry.$("idofitem");

I saw this in the release notes, but Peter noted how it had tripped him up so I thought I'd warn folks.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com