Sammy swaps divs inline for every link. This makes it impossible to add a custom js from a recipe that acts on this div, since the js is never called.
with `context.app.swap(data[i]['html'])`
Fix:
See Sammy.Application-after or any other filters like before, around. Filter will be included by Recipe's index.html as js scripts. Assuming the namespace is the same 'app' in the recipe, this should be automatically invoked by frozen pie's app.
Sammy swaps divs inline for every link. This makes it impossible to add a custom js from a recipe that acts on this div, since the js is never called.
Fix:
See Sammy.Application-after or any other filters like before, around. Filter will be included by Recipe's index.html as js scripts. Assuming the namespace is the same 'app' in the recipe, this should be automatically invoked by frozen pie's app.
We should change 'app' to 'pie'.