Comments (4)
Had the same issue with wordpress.
Depending on the version you use:
-
minified:
Line 8: "object" == typeof exports && "undefined" != typeof module ? t(require("jquery")) : "function" == typeof define && define.amd ? define(["jquery"], t) : t(e.$)
to
"object" == typeof exports && "undefined" != typeof module ? t(require("jquery")) : "function" == typeof define && define.amd ? define(["jquery"], t) : t(e.jQuery) -
Non-minified version Line 10:
(factory(global.$));
to
(factory(global.jQuery));
Working fine now with Wordpress.
from jquery.ripples.
This error most likely has nothing to do with Wordpress. However, could you use the unminified version? Then we might get more useful errors and line numbers.
from jquery.ripples.
Hello,
With unminified version $ is not defined. Is it conflicting?
Uncaught TypeError: $ is not a function
at jquery.ripples-min.js?ver=1.0.0:16
at $ (jquery.ripples-min.js?ver=1.0.0:10)
at jquery.ripples-min.js?ver=1.0.0:11
frontend.js?ver=1.0.0:351 Uncaught TypeError: jQuery(...).ripples is not a function
at frontend.js?ver=1.0.0:351
at s (frontend.min.js?ver=2.2.5:2)
at Object.doAction (frontend.min.js?ver=2.2.5:2)
at i.runReadyTrigger (frontend.min.js?ver=2.2.5:2)
at HTMLElement. (frontend.min.js?ver=2.2.5:2)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at initHandlers (frontend.min.js?ver=2.2.5:2)
at new i (frontend.min.js?ver=2.2.5:2)
at HTMLDocument.init (frontend.min.js?ver=2.2.5:2)
from jquery.ripples.
Can you do console.log($, $ ? 'default' in $ : null)
right before loading this library? If it outputs undefined, null
then jQuery isn't loaded properly and the bug is out of the scope of this library. If however the second part of the output is true, then you might either want to unset $['default']
before loading the library (and reset it after), or replace the part e=e&&"default"in e?e.default:e
in the minified file with e
.
from jquery.ripples.
Related Issues (20)
- IPhone and IPad Issue HOT 3
- Effect not Working on Mobile Devices HOT 2
- New coder here! Need Help HOT 1
- JPG-s only HOT 1
- Ripples does not work on Samsung phones HOT 1
- Weird issue with canvas sometimes appearing squished at the top of the <div> HOT 2
- remove white ripples reflection HOT 2
- Effect not working on wordpress PLEASE Help HOT 1
- Must call ripples({}) before using ripples('drop' HOT 1
- Created a JS Native version fork, future direction? HOT 1
- WebGL Issue on Google Chrome HOT 7
- interaction with touch on mobile HOT 2
- Correct syntax for changing images HOT 1
- Jitter on iOS / Safari HOT 6
- Document the format of the resolution property HOT 2
- Using Ripple JS with Webpack HOT 2
- plugin for angular
- How to use in vue?
- Ripples barely visible
- white background
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.ripples.