sammy
sammy copied to clipboard
Sammy is a tiny javascript framework built on top of jQuery, It's RESTful Evented Javascript.
Added callback support for the swap function, this allows code to be executed after a fadeout / fadein sequence when the html is in place.
In previous version nested then didn't work at expected: ``` javascript context.load("templates/home.template" ).then(function(){ context.log("1"); this.load("templates/home.template" ).then(function(){ context.log("2"); this.load("templates/home.template" ).then(function(){ context.log("3"); this.load("templates/home.template" ).then(function(){ context.log("3a"); }).then(function(){ context.log("3b"); }); }); }).then(function(){ context.log("4"); });...
https://github.com/quirkey/sammy/blob/245dd7f8869b708b31eed552512e9cdf0f0df501/lib/sammy.js#L1681 Should be: `if (location.jquery) {`
How is the best practice with sammy js ? I have this codes, what is it best practice ? But i think it is not a best practice. My codes...
I see there is a branch called non-hash and when using the Github comparer it seems that all contents from non-hash branch are in master branch. I am using sammyJs...
thanks
The new changes on the non-hash branch (or did your email to the list mean these are now on master?) that support pushState and hash for the relevant browsers updates...
I found a problem with this part of the code: ` // Changes the location of the current window. If `to` begins with // '#' it only changes the document's...
Sammy JS is a fantastic framework! Used in some applications I'm developing and have achieved excellent results. I see that the last commit is 26 Aug 2014 and I wonder...
Provide a means to allow routes to be removed or replaced after Sammy has been initialized.