Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. filter: {
  2. before: function(e, par) {
  3. alert('view: ' + $$(this).view); // here, the "view" is shown properly (it's set from the outside)
  4. },
  5. mustache: app.ddoc.templates.partials.files,
  6. query: {
  7. view: $$(this).view // looks like here we've got null
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement