{"action":"closed","issue":{"url":"https://api.github.com/repos/canjs/can-ssr/issues/28","labels_url":"https://api.github.com/repos/canjs/can-ssr/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/canjs/can-ssr/issues/28/comments","events_url":"https://api.github.com/repos/canjs/can-ssr/issues/28/events","html_url":"https://github.com/canjs/can-ssr/issues/28","id":99777235,"number":28,"title":"Error with waitFor being undefined","user":{"login":"justinbmeyer","id":78602,"avatar_url":"https://avatars.githubusercontent.com/u/78602?v=3","gravatar_id":"","url":"https://api.github.com/users/justinbmeyer","html_url":"https://github.com/justinbmeyer","followers_url":"https://api.github.com/users/justinbmeyer/followers","following_url":"https://api.github.com/users/justinbmeyer/following{/other_user}","gists_url":"https://api.github.com/users/justinbmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/justinbmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinbmeyer/subscriptions","organizations_url":"https://api.github.com/users/justinbmeyer/orgs","repos_url":"https://api.github.com/users/justinbmeyer/repos","events_url":"https://api.github.com/users/justinbmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/justinbmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-08T06:19:05Z","updated_at":"2015-11-19T14:52:06Z","closed_at":"2015-11-19T14:52:06Z","body":"I get the following:\r\n\r\n```\r\nwaitFor bitballs/styles.less! function\r\nwaitFor bitballs/app function\r\nwaitFor bitballs/components/navigation function\r\nwaitFor bitballs/components/player/list function\r\nwaitFor bitballs/components/tournament/list function\r\nwaitFor bitballs/components/tournament/details function\r\nwaitFor bitballs/components/player/edit undefined\r\nPotentially unhandled rejection [1] TypeError: Cannot call method 'call' of undefined\r\n    at Object.root.waitFor (evalmachine.<anonymous>:167:11)\r\n    at evalmachine.<anonymous>:20:9\r\n```\r\n\r\nThe `waitFor` logs are printed like:\r\n\r\n```\r\ncan.view.callbacks._tags[\"can-import\"] = function(el, tagData){\r\n\tvar root = tagData.scope.attr(\"@root\");\r\n\tvar moduleName = el.getAttribute(\"from\");\r\n\tconsole.log(\"waitFor\", moduleName, typeof root.waitFor);\r\n```\r\n\r\n\r\nThe module that is broken: `bitballs/components/player/edit` is imported like:\r\n\r\n```\r\nindex.stache\r\n  bitballs/components/player/list.js\r\n    bitballs/components/player/list.stache\r\n      bitballs/components/player/edit.js\r\n```\r\n\r\n"}}