jchris / evently Goto Github PK
View Code? Open in Web Editor NEWDSL for writing event-based jQuery apps
Home Page: http://couchapp.org/page/evently
DSL for writing event-based jQuery apps
Home Page: http://couchapp.org/page/evently
I have a simple couchapp + evently that works fine on firefox browser but throw error on both iPhone and desktop safari browser.
The repro include a link: backup.
If I use the folder name selectors/a[href=#backup] it works fine. But if I use the contain operator selectors/a[href*=#backup], it throws an exception.
selectors/a[href=#backup]/click.js is just a dummy function.
jquery.evently.js line 159
TypeError: Result of expression 'h'[null] is not an object
i can use queries in evently to pass through mustache to populate a page, but how do i pass parameter values to the query?
say i want to retrieve a doc with a keyvalue of V. i think i can put "key" : "V" into the query.json - but how do i pass this argument to query.json? i take that the argument is either in $$(this) or passed with the event.
i found no documentation on the web and i would rather not store v in couchapp.
any suggestions for documentation i should read or example code?
thank you!
andrew
When not using this with couchapp, $.argsToArray is missing since jquery.couch.app.util.js isn't included.
Jquery versions 1.5 and above do not work with evently though jquery versions 1.4.4, 1.4.3, and 1.4.2 appear to work.
$.couch.app(.....) generates the error
ddoc.vendor is undefined. (because ddoc is undefined)
This was tested using the latest version of couchapp 0.8.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.