{"action":"created","issue":{"url":"https://api.github.com/repos/krakenjs/adaro/issues/53","labels_url":"https://api.github.com/repos/krakenjs/adaro/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/krakenjs/adaro/issues/53/comments","events_url":"https://api.github.com/repos/krakenjs/adaro/issues/53/events","html_url":"https://github.com/krakenjs/adaro/issues/53","id":67377715,"number":53,"title":"@eq does not work without @select","user":{"login":"kurdin","id":6027060,"avatar_url":"https://avatars.githubusercontent.com/u/6027060?v=3","gravatar_id":"","url":"https://api.github.com/users/kurdin","html_url":"https://github.com/kurdin","followers_url":"https://api.github.com/users/kurdin/followers","following_url":"https://api.github.com/users/kurdin/following{/other_user}","gists_url":"https://api.github.com/users/kurdin/gists{/gist_id}","starred_url":"https://api.github.com/users/kurdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurdin/subscriptions","organizations_url":"https://api.github.com/users/kurdin/orgs","repos_url":"https://api.github.com/users/kurdin/repos","events_url":"https://api.github.com/users/kurdin/events{/privacy}","received_events_url":"https://api.github.com/users/kurdin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-09T14:45:19Z","updated_at":"2015-04-09T16:17:29Z","closed_at":null,"body":"We use latest dust (2.6.2) and dust helpers (1.6.2) with adaro (0.1.8) in  krakenjs (1.0.3) \r\nWhen dust template has ``@eq`` helper without ``@select`` html output nothing:\r\n\r\nData:\r\n````javascript\r\nsessionHelper = {\r\n  \"seo\": false,\r\n  \"timestamp\": 1428589929727,\r\n  \"port\": 3000,\r\n  \"user\": {}\r\n}\r\n````\r\n\r\nThis is works as expected:\r\n\r\n```html\r\n{@select key=sessionHelper.seo}\r\n{@eq value=\"false\" type=\"boolean\"}\r\n    <h1>Select + EQ: The this right</h1>\r\n{:else}\r\n    <h1>Select + EQ: This this wrong</h1>\r\n{/eq}\r\n{/select}\r\n````\r\noutput: \r\n```<h1>Select + EQ: The this right</h1>```\r\n\r\nAnd this DOES NOT output anything:\r\n\r\n```html\r\n{@eq key=sessionHelper.seo value=\"false\" type=\"boolean\"}\r\n  <h1>EQ only: The this right</h1>\r\n  {:else}\r\n  <h1>EQ only: This this wrong</h1>\r\n{/eq}\r\n````\r\n\r\nI thought this a dust issue, but rendering same code from controller with dust.comple and dust.render will output correct lines in both versions.\r\n\r\nAlso, I was trying to update ``adaro`` to latest 2.0.0-x but it wont work with ``engine-munger`` that requires ``\"adaro\": \"~0.1.5\"``\r\n\r\nHere is an example of working code in pure dust, it works as expected: http://jsfiddle.net/7x4z3766/\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/krakenjs/adaro/issues/comments/91278735","html_url":"https://github.com/krakenjs/adaro/issues/53#issuecomment-91278735","issue_url":"https://api.github.com/repos/krakenjs/adaro/issues/53","id":91278735,"user":{"login":"kurdin","id":6027060,"avatar_url":"https://avatars.githubusercontent.com/u/6027060?v=3","gravatar_id":"","url":"https://api.github.com/users/kurdin","html_url":"https://github.com/kurdin","followers_url":"https://api.github.com/users/kurdin/followers","following_url":"https://api.github.com/users/kurdin/following{/other_user}","gists_url":"https://api.github.com/users/kurdin/gists{/gist_id}","starred_url":"https://api.github.com/users/kurdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurdin/subscriptions","organizations_url":"https://api.github.com/users/kurdin/orgs","repos_url":"https://api.github.com/users/kurdin/repos","events_url":"https://api.github.com/users/kurdin/events{/privacy}","received_events_url":"https://api.github.com/users/kurdin/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T16:17:28Z","updated_at":"2015-04-09T16:17:28Z","body":"@jasisk I downgraded to 2.6.1 / 1.6.1. and it wont help. Same problem. But patching dustjs-helpers in lib/dust-helpers.js on line 28 resolves the issue: \r\nhttps://github.com/rragan/dustjs-helpers/commit/aa230813e80367bfc27d42089f322f653cb68888\r\n\r\nThanks for the tip, waiting on updated version."}}