{"action":"created","issue":{"url":"https://api.github.com/repos/binaryage/dirac/issues/49","repository_url":"https://api.github.com/repos/binaryage/dirac","labels_url":"https://api.github.com/repos/binaryage/dirac/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/binaryage/dirac/issues/49/comments","events_url":"https://api.github.com/repos/binaryage/dirac/issues/49/events","html_url":"https://github.com/binaryage/dirac/issues/49","id":187506068,"number":49,"title":"\"require\" broken?","user":{"login":"p-himik","id":4410314,"avatar_url":"https://avatars.githubusercontent.com/u/4410314?v=3","gravatar_id":"","url":"https://api.github.com/users/p-himik","html_url":"https://github.com/p-himik","followers_url":"https://api.github.com/users/p-himik/followers","following_url":"https://api.github.com/users/p-himik/following{/other_user}","gists_url":"https://api.github.com/users/p-himik/gists{/gist_id}","starred_url":"https://api.github.com/users/p-himik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-himik/subscriptions","organizations_url":"https://api.github.com/users/p-himik/orgs","repos_url":"https://api.github.com/users/p-himik/repos","events_url":"https://api.github.com/users/p-himik/events{/privacy}","received_events_url":"https://api.github.com/users/p-himik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-05T16:17:27Z","updated_at":"2016-11-05T18:16:58Z","closed_at":null,"body":"Somewhere around version 0.7.5 executing\r\n```clojure\r\n> (require '[re-frame.db :refer [app-db]])\r\n> @app-db\r\n```\r\nin the browser console would give a nice representation of app-db current value.\r\nNow none of such statements are working - in this case `app-db` is `undefined`.\r\nAt the same time, `require`ing works inside `lein repl` (although it doesn't have the same value as app-db in browser)."},"comment":{"url":"https://api.github.com/repos/binaryage/dirac/issues/comments/258630980","html_url":"https://github.com/binaryage/dirac/issues/49#issuecomment-258630980","issue_url":"https://api.github.com/repos/binaryage/dirac/issues/49","id":258630980,"user":{"login":"darwin","id":5453,"avatar_url":"https://avatars.githubusercontent.com/u/5453?v=3","gravatar_id":"","url":"https://api.github.com/users/darwin","html_url":"https://github.com/darwin","followers_url":"https://api.github.com/users/darwin/followers","following_url":"https://api.github.com/users/darwin/following{/other_user}","gists_url":"https://api.github.com/users/darwin/gists{/gist_id}","starred_url":"https://api.github.com/users/darwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darwin/subscriptions","organizations_url":"https://api.github.com/users/darwin/orgs","repos_url":"https://api.github.com/users/darwin/repos","events_url":"https://api.github.com/users/darwin/events{/privacy}","received_events_url":"https://api.github.com/users/darwin/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T18:16:58Z","updated_at":"2016-11-05T18:16:58Z","body":"Just did a quick test and it works for me with 0.8.0:\r\nhttps://dl.dropboxusercontent.com/u/559047/dirac-reframe-issue-49.png\r\n\r\nI modified [dirac-sample](https://github.com/binaryage/dirac-sample) project and added [re-frame \"0.8.0\"] as a new dependency.\r\n\r\nWhile doing it I had to add a hard require to re-frame.db to demo.cljs. ClojureScript 1.9.293 has a new way of doing standalone `require` and it somewhat broken if the required namespace wasn't required in any of the existing sources. Maybe you ran into this issue? \r\n\r\nSee https://github.com/bhauman/lein-figwheel/issues/490."}}
{"actor":{"display_login":"darwin"}}