{"action":"created","issue":{"url":"https://api.github.com/repos/tildeio/ember-cli-fastboot/issues/5","labels_url":"https://api.github.com/repos/tildeio/ember-cli-fastboot/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/tildeio/ember-cli-fastboot/issues/5/comments","events_url":"https://api.github.com/repos/tildeio/ember-cli-fastboot/issues/5/events","html_url":"https://github.com/tildeio/ember-cli-fastboot/issues/5","id":60800188,"number":5,"title":"Component className binding to controller property breaks Fastboot server","user":{"login":"vectart","id":40622,"avatar_url":"https://avatars.githubusercontent.com/u/40622?v=3","gravatar_id":"","url":"https://api.github.com/users/vectart","html_url":"https://github.com/vectart","followers_url":"https://api.github.com/users/vectart/followers","following_url":"https://api.github.com/users/vectart/following{/other_user}","gists_url":"https://api.github.com/users/vectart/gists{/gist_id}","starred_url":"https://api.github.com/users/vectart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vectart/subscriptions","organizations_url":"https://api.github.com/users/vectart/orgs","repos_url":"https://api.github.com/users/vectart/repos","events_url":"https://api.github.com/users/vectart/events{/privacy}","received_events_url":"https://api.github.com/users/vectart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-12T10:45:34Z","updated_at":"2015-03-16T18:43:26Z","closed_at":null,"body":"I'm trying Fastboot for my e-commerce app:\r\nhttps://github.com/vectart/e-commerce-concept/tree/fastboot-bug\r\n\r\nWhen the app is loaded in Fastboot-mode and I open http://localhost:3000/, the following error happens:\r\n```bash\r\nundefined:52562\r\n      return sel ? jQuery['default'](sel, elem) : jQuery['default'](elem);\r\n                                                                   ^\r\nTypeError: Property 'default' of object #<Object> is not a function\r\n    at Object.merge.default.$ (<anonymous>:52562:68)\r\n    at CoreView.default.extend.$ (<anonymous>:53748:32)\r\n    at null.<anonymous> (<anonymous>:47733:23)\r\n    at Object.merge.default.invokeObserver (<anonymous>:52613:16)\r\n    at stateCheckedFn (<anonymous>:54191:27)\r\n    at Queue.invoke (<anonymous>:13359:18)\r\n    at Object.Queue.flush (<anonymous>:13424:13)\r\n    at Object.DeferredActionQueues.flush (<anonymous>:13229:19)\r\n    at Object.Backburner.end (<anonymous>:12654:27)\r\n    at Object.Backburner.run (<anonymous>:12709:20)\r\n```\r\n\r\nI've figured out that it caused by ```isActive:active``` className binding at https://github.com/vectart/e-commerce-concept/blob/fastboot-bug/app/components/product-details.js#L9.\r\n\r\nThis causes calling anonymous function at  https://github.com/emberjs/ember.js/blob/5fd2d035b30aa9ebfe73de824b3b283ec8e589cc/packages/ember-views/lib/mixins/class_names_support.js#L123 and eventually fails in ```$``` method https://github.com/emberjs/ember.js/blob/5fd2d035b30aa9ebfe73de824b3b283ec8e589cc/packages/ember-views/lib/views/states/has_element.js#L20"},"comment":{"url":"https://api.github.com/repos/tildeio/ember-cli-fastboot/issues/comments/81861578","html_url":"https://github.com/tildeio/ember-cli-fastboot/issues/5#issuecomment-81861578","issue_url":"https://api.github.com/repos/tildeio/ember-cli-fastboot/issues/5","id":81861578,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T18:43:26Z","updated_at":"2015-03-16T18:43:26Z","body":"> @tomdale It's hacky workaround to implement animations after route is loaded. Of course, it should be implemented in other way, for example using Liquid-Fire.\r\n\r\n`Ember.run.schedule('afterRender'` should be sufficient in nearly all cases "}}