For examples in browser, check out these demo files
Node examples can be found here
Tiny javascript library, enabling codeflow like this
Qure
.run(function() {
// save variable to "this"
this.a = 1;
})
.wait(500)
.then(function() {
// executed after 500 milliseconds after previous call
console.log(this.a); // '1'
})
It is also possible to "fork" the timeline...which enables multiple queueing/chaining, independent of each other.
Qure
.wait(200)
.then(function() {
// executed after 200 milliseconds
console.log(1);
});
Qure
.fork()
.wait(250).then(function() {
// executed after 250 milliseconds (50 ms after previous call)
console.log(2);
})
- Templating example
- Example connect to DefiantJS
- Declare 'sequence' ?
- Add 'settings' method - debug purpose
- Add 'watch' method ?
- Add 'begin' method ?
- Metaphorical support for Confirm & Prompt ?
- Wait for 'Qure' instance
- Save sequence for replay ?
- built-in support for rest-API ?
- Handle response handlers better (node XHR)
- Load-method & XDomainRequest in Node environment
- autoparse xhr response