{"action":"created","issue":{"url":"https://api.github.com/repos/krakenjs/adaro/issues/101","labels_url":"https://api.github.com/repos/krakenjs/adaro/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/krakenjs/adaro/issues/101/comments","events_url":"https://api.github.com/repos/krakenjs/adaro/issues/101/events","html_url":"https://github.com/krakenjs/adaro/issues/101","id":118699590,"number":101,"title":"How to get dustjs instance from adaro","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":3,"created_at":"2015-11-24T20:47:46Z","updated_at":"2015-11-24T21:45:36Z","closed_at":null,"body":"We upgrading to Kraken 2.0, in our app we use dustjs to prerender multiple templates from different submodules. Before adaro 1.x we can require dustjs from everywhere and we can use it to render or compile different templates. Now adaro use freshy to create it own, separate instance of dustjs even if dustjs-linkedin installed in Kraken node_modules. \r\n\r\nNot sure why it was done, but is there anyway to get adaro's dust instance with all helpers to use in app controller?"},"comment":{"url":"https://api.github.com/repos/krakenjs/adaro/issues/comments/159414454","html_url":"https://github.com/krakenjs/adaro/issues/101#issuecomment-159414454","issue_url":"https://api.github.com/repos/krakenjs/adaro/issues/101","id":159414454,"user":{"login":"grawk","id":1031360,"avatar_url":"https://avatars.githubusercontent.com/u/1031360?v=3","gravatar_id":"","url":"https://api.github.com/users/grawk","html_url":"https://github.com/grawk","followers_url":"https://api.github.com/users/grawk/followers","following_url":"https://api.github.com/users/grawk/following{/other_user}","gists_url":"https://api.github.com/users/grawk/gists{/gist_id}","starred_url":"https://api.github.com/users/grawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grawk/subscriptions","organizations_url":"https://api.github.com/users/grawk/orgs","repos_url":"https://api.github.com/users/grawk/repos","events_url":"https://api.github.com/users/grawk/events{/privacy}","received_events_url":"https://api.github.com/users/grawk/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T21:45:36Z","updated_at":"2015-11-24T21:45:36Z","body":"I see why that works and how it could be helpful. But at the same time, you are still beholden to adaro having been properly set up by the initialization of the kraken app. I personally would be more comfortable using a separate dust instance from adaro for that reason alone. But let me hang back and see if anyone else cares to comment as to the feasibility and likelihood of implementing your proposal."}}