slack-help

Need help navigating this Slack? You're in the right place!
jimmy 2016-01-13T16:06:54.001288Z

is code posted in slack being collapsed by default ?

meow 2016-01-13T16:07:18.001289Z

can you give an example

jimmy 2016-01-13T16:08:13.001290Z

(om/app-state reconciler)
#object [cljs.core.Atom {:val {:navigation-point :project-page, :commons {:nav #object[cljs.core.async.impl.channels.ManyToManyChannel], :nav-mult #object[cljs.core.async.t_cljs$core$async31116]}, :navigation-data {:_title "Housing developer", :_params {:project-id "123", :project-name "project-test", :developer-name "phu-my-hung"}, :query-params nil}, :om.next/queries {#object[my-project.components.app.App] {:params {:dom-com/query [({:project/page [:project/name :project/description {:project/developer [:developer/name]}]} {:project/name "Erica"})]}}}, :dom-com/props {:project/page [{:project/name "Erica", :project/description "One is sure to enhance the dimensions of one’s desires, thoughts and spirits, while staying at Erica. It’s a classic mix of all that you were longing for in your dream house. It has meticulously designed spacious apartments with all the modern amenities in the thick of plush greenery which makes it a comfortable and cozy home. The residential apartments in Erica lets you reload unconditional bliss that leads to momentous way of living. Erica has lavish yet thoughtfully designed residences that carts comfort, content and care. Settle amidst life changing ambiance of this complex that gives you a chance to elevate your lifestyle for a lifetime. ", :project/developer {:developer/name "Eisha Group"}}]}, :om.next/tables #{}}}]
my-project.core=> (om/class->any reconciler my-project.components.app/App)
#object[my-project.components.app.App]
my-project.core=> (om/get-query (om/class->any reconciler my-project.components.app/App))
[:navigation-point {:dom-com/props [({:project/page [:project/name :project/description {:project/developer [:developer/name]}]} {:project/name "Erica"})]} :navigation-data]
my-project.core=>
my-project.core=> (om/get-query (om/class->any reconciler my-project.components.app/App))
[:navigation-point {:dom-com/props [({:project/page [:project/name :project/description {:project/developer [:developer/name]}]} {:project/name "Erica"})]} :navigation-data]
my-project.core=> (parser {:state (om/app-state reconciler)} (om/get-query (om/class->any reconciler my-project.components.app/App)))
"test ttt" {}
{:navigation-point :project-page, :dom-com/props {}, :navigation-data {:_title "Housing developer", :_params {:project-id "123", :project-name "project-test", :developer-name "phu-my-hung"}, :query-params nil}}

jaen 2016-01-13T16:08:21.001291Z

No, not in the backtics.

jimmy 2016-01-13T16:08:23.001292Z

like this one

jaen 2016-01-13T16:08:38.001294Z

But you can post a code sinppet somehow

jaen 2016-01-13T16:08:40.001295Z

Those are collapsed

jaen 2016-01-13T16:09:00.001296Z

I think it's this - https://get.slack.help/hc/en-us/articles/204145658-Creating-a-Snippet

jimmy 2016-01-13T16:09:00.001297Z

ok so we need to post it to gist or something like that then post a link here ?

jaen 2016-01-13T16:09:34.001301Z

Yup

jimmy 2016-01-13T16:09:38.001302Z

thanks 😄

jaen 2016-01-13T16:09:42.001303Z

Or you can use gists as well if you prefer.

2016-01-13T22:10:32.001313Z

'code'

2016-01-13T22:10:37.001314Z

code