Jump to content

piearcy

Members
  • Posts

    24
  • Joined

  • Last visited

piearcy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Absolutely understand. I'm getting 4 errors after removing 1.11.2. All saying different things are not a function. Of of which is $elem. I've read the use of $ is no good with Magento and also read to wrap it as such, $($elem) but his had no effect. Nor does using jquery instead of $. a(document).on is also not a function in bootstrap.js. Then some individual things like owl slider is not found.
  2. Summary, I have a Magento site which was loading about 7 different varieties of jQuery. We want to cut them down to a single library. These ranged from 1.10.1 to 2.1.4. So we have chosen to use 2.1.4 and then fix the errors that come up. This being said, I'm down to a few but now am getting the errors that need correcting. I'm not at ALL a jQuery expert but choose to write in native javascript whenever possible as I'm not a fan of libraries if it can be done natively saving kb's. But this does not help me now as I'm having the afore mentioned errors and not being a jQuery expert I'm not certain what I need to do next. www.dev.michaeltoddusa.com. This is the shortest way for you to look at the source code and let me know where I need to start. Any help is appreciated.
  3. I was thinking this is what is going on. A plugin is calling for the library before it's actually loaded. Thanks. Love the signature. :-)
  4. I should add the other errors are 'undefined is not a function' and 'n is not a function'.
  5. I took on the daunting task of reducing the size of a Magento site. Beast that. At any rate, I have 3 different jQuery libraries loading. 1.10.1, 1.11.1, and 2.1.3. Then 2 different migrates which I would think would fix migration issues if I removed the two older versions. But just removing 1.11.1 gives me the error of 'jQuery is not a function, jQuery is not defined.' many times. Understanding no conflict is being used which should kill $ but not jQuery? What is the easiest way for me to migrate to using solely 2.1.3 and killing off the other two libraries? Perhaps a change log to see what has been removed since 1.10.1 and 1.11.1? I'd appreciate any advice on this one as I'm a php developer and write in jQuery but it is not my forte. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.