Git Product home page Git Product logo

clappr-zepto's Introduction

clappr-zepto

Zepto.js custom build used by Clappr player.

Zepto is build with ajax callbacks deferred event ie selector zepto modules.

Building

$ npm run build

clappr-zepto's People

Contributors

kslimani avatar rpadovani avatar thiagopnts avatar towerz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clappr-zepto's Issues

Uncaught TypeError: Cannot read property 'createElement' of undefined

I tried the new clappr-zepto:0.0.5 version on clappr and this appears

clappr

I don't know why f is undefined in there when trying to create a table.

What I did was:

  1. Update clappr package.json (clappr-zepto to 0.0.5)
  2. npm install
  3. npm run release
  4. Try it in the browser and fails

(I don't know if there is something wrong in the steps I did)

Error when embedding dinamically

When trying to add <script> tag to import clappr dinamically, I'm getting some errors on Zepto. It doesn't occur when using zepto-node instead.

Missing "version": "0.0.4" in bower

ower clappr-zepto#0.0.4  ENORESTARGET No tag found that was able to satisfy 0.0.4

Additional error details:
Available versions in git://github.com/thiagopnts/clappr-zepto.git: 0.0.3, 0.0.2, 0.0.1

Update zepto to lastest version

There is a bug in the actual version of zepto causing javascript error which is fixed in the latest version of zepto.

Current: Zepto v1.1.4-80-ga9184b2
Latest: Zepto.js 1.2.0

The bug is hard to reproduce but I have enough info and log to detect it.
It happened in the following scenario:

Chrome Mobile: Version: 54.0.2840
Android: Version: 6.0

Error
TypeError Cannot read property 'trigger' of undefined <unknown module> in nrWrapper

Fragment of minified code
imeout(function(){var i=t.Event(\"tap\");i.cancelTouch=l,e.el.trigger(i),e.isDoubleTap?(e.el&&e.el.trigger(\"doubleTap\"),e={}):n=setTimeout(fun

By taking a look at the print-screen, in the actual zepto there is no if to handle the problem detected. And in the latest zepto there is check if (touch.el) touch.el.trigger('doubleTap')

I believe it will fix the problem, I mean, I couldn't rebuild the exact environment to reproduce the error.

image

window.Zepto and window.$ should not be set

I have tried to remove where they're set but because it's minified I'm having difficulty.

Could this not be an unminified version, as when it's used in clappr it will be minified there as part of the build process?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.