You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea what's causing this, because I'm not familiar with your setup. But here's what's happening:
I've been directly referencing the client library with a <script> tag that points to dist/zingtouch.js so that I could debug. When I switch to webpack to compile my client-side code, I insert a line such as:
constZingTouch=require('zingtouch');
From index.js I see that this, without changing anything, will require ./dist/zingtouch.min.js instead of ./dist/zingtouch.js.
Now, suddenly, Pinches break. They simply never get called.
If edit index.js to require ./dist/zingtouch.js, everything works again.
Did you forget to rebuild the minified code?
The text was updated successfully, but these errors were encountered:
I have no idea what's causing this, because I'm not familiar with your setup. But here's what's happening:
I've been directly referencing the client library with a
<script>
tag that points todist/zingtouch.js
so that I could debug. When I switch towebpack
to compile my client-side code, I insert a line such as:From
index.js
I see that this, without changing anything, will require./dist/zingtouch.min.js
instead of./dist/zingtouch.js
.Now, suddenly, Pinches break. They simply never get called.
If edit
index.js
to require./dist/zingtouch.js
, everything works again.Did you forget to rebuild the minified code?
The text was updated successfully, but these errors were encountered: