I purchased the kindle version of this book yesterday.
- Makoto
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
ClojureScript group.
To unsubscribe from this group and
:52 AM UTC+1, Makoto H. wrote:
Hi,
I tried the 0.8.6 but I faced another error.
ExceptionInfo No such namespace: cljsjs.react at line 1
file:/userdata/appdata/maven/.m2/repository/org/omcljs/om/0.8.6/om-0.8.6.jar!/om/dom.cljs
clojure.core/ex-info (core.clj:4403
Hi,
I tried the 0.8.6 but I faced another error.
ExceptionInfo No such namespace: cljsjs.react at line 1
file:/userdata/appdata/maven/.m2/repository/org/omcljs/om/0.8.6/om-0.8.6.jar!/om/dom.cljs
clojure.core/ex-info (core.clj:4403)
I am trying to find the cause but I was not able to do it.
He Antoni,
The situation was the same after remove cemerick.piggieback/wrap-cljs-repl.
I did another test.
I checked differences between om 0.8.1 and 0.8.2.
In the 0.8.2 ns for om.core and om.dom as follows:
(ns om.core
(:require com.facebook.React
[om.dom :as dom :include-macros
I am update om to 0.8.2, then:require causes an error.
(ns om-app.hello
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
)
)
clojure.lang.ExceptionInfo: No such namespace: com.facebook.React at line 1
.
On Thursday, August 14, 2014 6:07:42 PM UTC-7, Makoto H. wrote:
I'm trying to run Jason's code but I cannot run it work.
I received the following error when I run (modal-ui).
#function modal_ui(){return
om.core.root.call(null,test.modal.wrapper,test.modal.app_state,new
!important;
}
}
On Wednesday, August 6, 2014 8:53:54 PM UTC-7, Makoto H. wrote:
It worked with jayq. My code is as follows:
(ns menu.test
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true
I am using om and clojurescript using cemerick's austin.
When I updated clojurescript to the latest version from 0.0-2280 to 0.0-2307,
Browser-REPL did not work. The following is when I was starting bRepl.
; nrepl.el 0.2.0 (Clojure 1.6.0, nREPL 0.2.3)
user (in-ns 'om-tut.server)
#Namespace
The following is my simplified om code and html.
https://gist.github.com/tokomakoma123/9a65f0d4bd8936c3f8e6
https://gist.github.com/tokomakoma123/53a6f4baf85a1a994ea1
Thanks,
Makoto
Can you post the full (minimal) clojurescript code that's breaking?
On 6 August 2014 11:39, Makoto H
I have defined bootstrap.js like
:externs [/bootstrap.js] in my project.clj.
But I'm not sure that is correct or not.
https://gist.github.com/tokomakoma123/d2111e9ee288e3dddbcf
I found an article in the web which provides a solution how to use
bootstrap components from react.js.
would be as Thomas says
and write a modal Om component instead. Another alternative (probably what I
will do soon) is to look into using the modals from
https://github.com/luxbock/bootstrap-cljs
On 6 August 2014 14:54, Makoto H. tokoma...@gmail.com wrote:
I have defined bootstrap.js
project as you did, it makes sense that you wouldn't see the warnings.
On 26 July 2014 04:15, Makoto H. tokoma...@gmail.com wrote:
Hi,
I've tested the following project.clj and it worked fine without any warning.
(defproject makoto 0.1.0-SNAPSHOT
:description FIXME
Hi,
I am using om and I often encounter warning of Only React Components are valid
for mounting. . For example, when I evaluate the following expression, the
warning occurs.
(om/root animation-view app-state
{:target (.getElementById js/document app)})
What is it and is there any way to
Hi Sean,
I tested your steps using lein new mies-om makoto and it worked fine
without any warning.
My environment is complicated but I will check check what causes the warning.
(I am using austin and the project has other om test code).
https://github.com/tokomakoma123/om-tut
Thanks,
Makoto
Hi,
This may be a simple question.
I'd like to know how to add and remove div section using om.
My html is as follows:
!DOCTYPE html
html lang=ja
head
meta charset=utf-8 /
meta content=width=device-width, initial-scale=1 name=viewport /
titletitle/title
link rel=stylesheet
Hi Ahmad,
I have also tested the sample code.
Thanks,
Makoto
DD's solution should do the trick. You should also look at Om's example of
using multiple roots incase you need to go down that approach:
https://github.com/swannodette/om/blob/master/examples/multiroot/src/core.cljs
--
Note
Hi Dave,
With your suggestion, I could generate lia href=#menu1/a/li
block using the following clojurescript:
(dom/li nil
(dom/a #js {:className #} menu1))
https://github.com/swannodette/om/blob/master/src/om/dom.clj#L4-L126
Above is also helpful for me.
Thanks,
Makoto
Should just be
Hi Jamie,
I'll try to use Om tools an Sabalono.
Thanks,
Makoto
You might consider using a lib such as Om Tools or Sablono for the dom.
https://github.com/Prismatic/om-tools
https://github.com/r0man/sablono
On Jul 9, 2014, at 7:14 AM, Makoto H. tokomakoma...@gmail.com
Hi Moritz,
Yes, you are correct.
(dom/li nil
(dom/a #js {:className #} menu1))
You want :href, not :className.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google
HI,
I have written some components using OM. I would like to these components
on the same web page as follows:
1. menu-table-header
2. menu-table
3. menu-table-button
The following is my prototype code. In my om/root can display only one
component and I am looking for how can I show multple
20 matches
Mail list logo