{"action":"created","issue":{"url":"https://api.github.com/repos/bolt/bolt/issues/4206","labels_url":"https://api.github.com/repos/bolt/bolt/issues/4206/labels{/name}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/4206/comments","events_url":"https://api.github.com/repos/bolt/bolt/issues/4206/events","html_url":"https://github.com/bolt/bolt/issues/4206","id":109670152,"number":4206,"title":"Snippet queue doesn't seem to get processed in frontend..","user":{"login":"bobdenotter","id":1833361,"avatar_url":"https://avatars.githubusercontent.com/u/1833361?v=3","gravatar_id":"","url":"https://api.github.com/users/bobdenotter","html_url":"https://github.com/bobdenotter","followers_url":"https://api.github.com/users/bobdenotter/followers","following_url":"https://api.github.com/users/bobdenotter/following{/other_user}","gists_url":"https://api.github.com/users/bobdenotter/gists{/gist_id}","starred_url":"https://api.github.com/users/bobdenotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobdenotter/subscriptions","organizations_url":"https://api.github.com/users/bobdenotter/orgs","repos_url":"https://api.github.com/users/bobdenotter/repos","events_url":"https://api.github.com/users/bobdenotter/events{/privacy}","received_events_url":"https://api.github.com/users/bobdenotter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T08:47:23Z","updated_at":"2015-10-04T08:50:27Z","closed_at":null,"body":"If I do this in my code, it'll show up in the rendered HTML, as it should: \r\n\r\n```\r\n$this->app['asset.queue.file']->add('javascript', 'foo.js', ['late' => true, 'priority' => 1]);\r\n```\r\n\r\nHowever, If I do this, it's nowhere to be found:\r\n\r\n```\r\n$this->app['asset.queue.snippet']->add(Target::AFTER_BODY_JS, $javascript);\r\n```\r\n\r\nAm I derping, or is this a bug? Pinging @CarsonF @GawainLynch "},"comment":{"url":"https://api.github.com/repos/bolt/bolt/issues/comments/145328458","html_url":"https://github.com/bolt/bolt/issues/4206#issuecomment-145328458","issue_url":"https://api.github.com/repos/bolt/bolt/issues/4206","id":145328458,"user":{"login":"bobdenotter","id":1833361,"avatar_url":"https://avatars.githubusercontent.com/u/1833361?v=3","gravatar_id":"","url":"https://api.github.com/users/bobdenotter","html_url":"https://github.com/bobdenotter","followers_url":"https://api.github.com/users/bobdenotter/followers","following_url":"https://api.github.com/users/bobdenotter/following{/other_user}","gists_url":"https://api.github.com/users/bobdenotter/gists{/gist_id}","starred_url":"https://api.github.com/users/bobdenotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobdenotter/subscriptions","organizations_url":"https://api.github.com/users/bobdenotter/orgs","repos_url":"https://api.github.com/users/bobdenotter/repos","events_url":"https://api.github.com/users/bobdenotter/events{/privacy}","received_events_url":"https://api.github.com/users/bobdenotter/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T08:50:27Z","updated_at":"2015-10-04T08:50:27Z","body":"Casting it to string does work, as Gawain pointed out to me. :-)\r\n\r\n```\r\n$this->app['asset.queue.snippet']->add(Target::AFTER_BODY_JS, (string) $javascript);\r\n```"}}