Questions tagged [zepto]

Zepto.js is a minimalist JavaScript framework for modern browsers, with a jQuery-compatible syntax.

From the project-site: http://zeptojs.com/

"Zepto is a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you use jQuery, you already know how to use Zepto.

While 100% jQuery coverage is not a design goal, the APIs provided match their jQuery counterparts. The ultimate goal is to have a ~5-10k library that downloads and executes fast, with a familiar and versatile API, so you can concentrate on getting stuff done."

Source code: https://github.com/madrobby/zepto

319 questions
0
votes
1 answer

JavaScript events handling

I've made this wonderful plugin: https://github.com/suprMax/Zepto-onPress Which works perfectly besides one little detail. When I get callback function I need to store it alongside with my real event handler so I can detach it when someone tries to…
Max
  • 1,149
  • 3
  • 10
  • 20
-2
votes
1 answer

"using API key multiple times" error after adding API Key to an old Google Maps API project

Finally getting around to fixing the well-known problem "API Key" error on a Google map I created back in 2014 (before you needed an API key for Google Maps API). I obtained a key and put this in the (obviously substituting the real key for…
-2
votes
4 answers

Parse JSON returns unexpected identifier error

I am trying to parse the following JSON string that is being returned to me but am getting an unexpected identifier error in the console. "{"title":"MyApp Companion","push_hash":"ff06b5b775e45409f9ab470b64d672d0","t":"mr","alert":"Ryjjgv","n":"Foo…
RyanP13
  • 7,413
  • 27
  • 96
  • 166
-6
votes
1 answer

write $(this) of Jquery in pure javascript

var item = $('.card'); var pageLoaded = false; var waypoints = item.waypoint(function(direction) { if($('.content').css('display') !== 'block'){ console.log('yes it did fire here'); …
Aaron Swartz
  • 21
  • 1
  • 9
1 2 3
21
22