Perhaps this thread can help : javascript
propertieshttps://groups.google.com/d/msg/clojure/P6fK5KsShs8/hJaAbIGo5FYJ
Le jeudi 15 novembre 2012 17:26:33 UTC+1, Thomas a écrit :
Hi,
I have an external JS library I want to use and I can call methods on
objects from the external library
This project /bOOtOne/ https://github.com/phperret/bOOtOne
could be of some help .
It uses *enfocus* * *and make use of *dynamic *libs by referencing *git *
repo.
Take a look at the *project;.clj *with the usage of *lein-cljsbuild * and
*cross
languages *inclusion.
Le vendredi 12 octobre 2012
I' ve lauched this summer the projet
/bOOtOne/http://phperret.github.com/bOOtOne/ on
gitHub.
That aim's project is to integrate the *cljs-ns-browser *of
@franks42/clj-ns-browser https://github.com/franks42/clj-ns-browser in
the @brentonashwort/one https://github.com/brentonashworth/one
It seems you have missed one important framework: ClojureScript One
So I have choosed to make the *TodoMVC* template (see [0]) application
with *ClojureScript One* and *Enfocus*. ( see [1] for running app )
What I could say now, is that CjOne is a little hard to embrace, but when
it's done ,
The best way to learn is to practice !
So I have choosed to make the *TodoMVC* template (see [0]) application
with *ClojureScript One* and *Enfocus*. ( see [1] for running app )
What I could say now, is that CjOne is a little hard to embrace, but when
it's done , this is a real pleasure to
Project is here : bOOtOne http://phperret.github.com/bOOtOne/
Le dimanche 5 août 2012 03:45:59 UTC+2, Pierre-Henry Perret a écrit :
Running a codelein2 check/code gives -
___
Exception in thread main java.lang.IllegalArgumentException: No
implementation
I prefer (filter (partial not nil?) coll) as a HOF
Le dimanche 12 août 2012 20:46:59 UTC+2, rmarianski a écrit :
On Sun, Aug 12, 2012 at 11:22:55AM -0700, Takahiro Hozumi wrote:
(filter (partial not nil?) coll)
You mean (filter (comp not nil?) coll).
I'm not sure which is more
Enlive is abstractement conceive : if you put a remote on client you could
cache it...
To do that with the same abstract language , you have the awesome enfocus
[0] lib
with a sample app here [1], and for those clojururians interested in MVC [2]
Any way, there will be some *remote *to get
Would answer, if you want to be atomic, means transactional memory, that is
a feature of Clore .
Le vendredi 10 août 2012 18:21:12 UTC+2, Hussein B. a écrit :
Hi,
I have a ref type that wraps a map, this map is going to embed many nested
other maps.
According to immutability rules, what
If you want to stay with atomic transactions this is a Clojure feature ,
STM, if my souvenirs sont bons
Le vendredi 10 août 2012 18:21:12 UTC+2, Hussein B. a écrit :
Hi,
I have a ref type that wraps a map, this map is going to embed many nested
other maps.
According to immutability rules,
Operators with appending ! are noted as special
clojure.core= (doc set!)
-
set!
(set! var-symbol expr)
(set! (. instance-expr instanceFieldName-symbol) expr)
(set! (. Classname-symbol staticFieldName-symbol) expr)
Special Form
Used to set
Ouups..
COrrect please
Le mardi 7 août 2012 17:33:33 UTC+2, Pierre-Henry Perret a écrit :
Operators with appending ! are noted as special
clojure.core= (doc set!)
-
set!
(set! var-symbol expr)
(set! (. instance-expr instanceFieldName
:resource-paths
:test-paths
Etc.
HTH,
Laurent
Le 5 août 2012 à 03:42, Pierre-Henry Perret phper...@gmail.com a écrit :
Running a codelein2 check/code gives -
___
Exception in thread main java.lang.IllegalArgumentException: No
implementation of method
Problem solved, Thanks all
Le dimanche 5 août 2012 10:32:14 UTC+2, Pierre-Henry Perret a écrit :
Sean,
It works now.. !
I have at last precated th lein1 project.
You'll see in the code a *file:// *url that is particular to my current
checkout version, by default *development *.
Any
-paths **src/clj*
*
*
Would have also *src/cljs * but block here
(= THT ( inverse HTH ) )
Thanks
Le dimanche 5 août 2012 10:32:14 UTC+2, Pierre-Henry Perret a écrit :
Sean,
It works now.. !
I have at last precated th lein1 project.
You'll see in the code a *file:// *url
New free sources CjOne Appli at [1]
The source tree is in branch *development *.
NEW: lauch automatically *cljs-ns-browser !*
*
*
--
[1] https://github.com/phperret/peer-one.git
Le dimanche 5 août 2012 01:03:46 UTC+2, Pierre-Henry Perret a écrit :
Using it in Chrome and then typing F12
file? (I asked in the other thread so
you can post it there or here)
On Sat, Aug 4, 2012 at 8:02 PM, Pierre-Henry Perret phper...@gmail.com
wrote:
More precisely:
___
Unsupported character: \\-
Le dimanche 5 août 2012 03:45:59
RECTIF
Must *cljs-ns-browser* browser by by hand using repl cmd:
one.todomvc.repl= *('use 'cljs-ns-browser.ns)*
one.todomvc.repl= *( sdoc ) *
Have fun !
Le dimanche 5 août 2012 10:16:17 UTC+2, Pierre-Henry Perret a écrit :
New free sources CjOne Appli at [1]
The source tree is in branch
:
Could you post your project.clj file? (I asked in the other thread so
you can post it there or here)
On Sat, Aug 4, 2012 at 8:02 PM, Pierre-Henry Perret phper...@gmail.com
wrote:
More precisely:
___
Unsupported character
Hello,
I have published a local! -able - just dblClik ont index.html to load app,
here [1]
based on CjOne
Running app here [0]
[0] http://todomvc.herokuapp.com
[1] https://github.com/phperret/peer-one.git
--
You received this message because you are subscribed to the Google
Groups Clojure
Using it in Chrome and then typing F12 allows to see all the clojure
structures travelling along ..
Le samedi 4 août 2012 23:20:50 UTC+2, Pierre-Henry Perret a écrit :
Hello,
I have published a local! -able - just dblClik ont index.html to load app,
here [1]
based on CjOne
Running
Running a codelein2 check/code gives -
___
Exception in thread main java.lang.IllegalArgumentException: No
implementation of method: :as-file of protocol: #'clojure.java.io/Coercions
found for class: c
lojure.lang.PersistentVector
Running a codelein2 check/code gives -
___
Exception in thread main java.lang.IllegalArgumentException: No
implementation of method: :as-file of protocol: #'clojure.java.io/Coercions
found
for class: c
lojure.lang.PersistentVector
Running a codelein2 check/code gives -
___
Exception in thread main java.lang.IllegalArgumentException: No
implementation of method: :as-file of protocol: #'clojure.java.io/Coercions
found
for class: c
lojure.lang.PersistentVector
More precisely:
___
Unsupported character: \\-
Le dimanche 5 août 2012 03:45:59 UTC+2, Pierre-Henry Perret a écrit :
Running a codelein2 check/code gives -
___
Exception in thread main
Evaluating this form:
_
(dispatch/react-to #{:dom-loaded}
(fn [t d] (do
(load-todos!) ;; init !todos OK
(log-console (str todos= @!todos)) ;; OK
, it's not doing much at all.
You can force realization of a lazy sequence by putting a (doall...
around the map call.
You can also use mapv (in Clojure 1.4 at least) which will return a
vector instead of a lazy sequence.
Regards,
BG
On Tue, Jul 31, 2012 at 5:31 PM, Pierre-Henry
Added missing *:dblclick *event.
Will this go on the *todomvc *sample MVC model applications ?
Le samedi 21 juillet 2012 14:26:47 UTC+2, Pierre-Henry Perret a écrit :
The best way to learn is to practice !
So I have choosed to make the *TodoMVC* template (see [0]) application
I've that result (with same config):
___
user #db/id[:db.part/db]
#db/id[:db.part/db -125]
___
The # char is a special char for the reader. Be careful to have redefined
it in your namespace ?..
Le jeudi 26 juillet 2012 00:02:50 UTC+2, tbc++ a écrit :
The datomic free is *correctly* pushed at [com.datomic/datomic 0.8.3335]
Thanks to datomic team.
Le mardi 24 juillet 2012 20:16:17 UTC+2, stuart@gmail.com a écrit :
0.8.3335 is now on the site, and includes the correct pom.xml.
http://www.datomic.com/get-datomic.html
Cheers,
Stu
I have just pushed datomic-free on clojars.org:
[datomic-free 0.8.3331]
Le mardi 24 juillet 2012 17:48:44 UTC+2, puzzler a écrit :
Sounds exciting. FYI, the links from the blog post to the pricing and
download pages don't seem to be working.
--
You received this message because you are
Yes, this is just the datomic-free
Transactor is missing.
Le mardi 24 juillet 2012 18:37:07 UTC+2, tbc++ a écrit :
I have just pushed datomic-free on clojars.org:
[datomic-free 0.8.3331]
I don't think your push worked correctly. I don't seem to be getting
all the deps needed by
Done!
[datomic-free-transactor 0.8.3331]
Le mardi 24 juillet 2012 18:48:01 UTC+2, Pierre-Henry Perret a écrit :
Yes, this is just the datomic-free
Transactor is missing.
Le mardi 24 juillet 2012 18:37:07 UTC+2, tbc++ a écrit :
I have just pushed datomic-free on clojars.org:
[datomic
Sorry , not so simple ...!
I did that with an earlier release, and in my hurry forgot to list all
those dependencies...
Le mardi 24 juillet 2012 19:00:48 UTC+2, Herwig Hochleitner a écrit :
Neither of those clojars upload work, because you haven't listed any
required dependencies in the
See [1].
This is a web framework which has a form validation included.
[1] http://www.clojurescriptone.com
Le lundi 23 juillet 2012 01:46:52 UTC+2, larry google groups a écrit :
Since 2000 I've been doing web development, first with PHP and then with
Ruby On Rails. In the world of PHP,
The best way to learn is to practice !
So I have choosed to make the *TodoMVC* template (see [0]) application
with *ClojureScript One* and *Enfocus*. ( see [1] for running app )
What I could say now, is that CjOne is a little hard to embrace, but when
it's done , this is a real pleasure to
This is due to the fact that the evaluation of a do form returns the last
expr...
Le mercredi 6 juin 2012 12:23:07 UTC+2, Jim foo.bar a écrit :
It's obvious that you're looking for:
(def lazy1 (interleave (repeat '+) (range 3)))
but I still haven't figured out why you get: (+0 +1 2)
A form like:
(def lazy2 (map #(str + %) (range)))
would work.
Le mercredi 6 juin 2012 11:24:06 UTC+2, Z.A a écrit :
Hi
user= (def lazy1(take3 (iterate#(do (print +)
(inc %))0)))
#'user/lazy1
user= lazy1
(+0+1 2)
Why am I not getting (+0+1
Sometimes, I dont know when/why, I get the following response from clj-repl:
WARNING: The form (. this toString) is no longer a property access. Maybe
you meant (. this -toStrin
g) instead?
I use the M003 branch of cj One
Have any idea ?
--
You received this message because you are
Hi Dimitry,
Have you tried http://localhost:8080/development
?
--
Pierre
2012/5/22 D.Bushenko d.bushe...@gmail.com
Hi all,
I'm trying to run clojurescript repl connected to browser and have failed
in all my attempts. I'm running the clojurescript/samples/repl project
provided with the
doesn't respond to the first URI at all, the
second URI just doesn't exist.
2012/5/22 Pierre Henry Perret phper...@gmail.com
Hi Dimitry,
Have you tried http://localhost:8080/development
?
--
Pierre
2012/5/22 D.Bushenko d.bushe...@gmail.com
Hi all,
I'm trying to run clojurescript
Right, just follow that, it should work.
--
Pierre
2012/5/22 Дмитрий Бушенко d.bushe...@gmail.com
No, I didn't try that since it wasn't in the README.md file. I thought the
steps described in the readme should be sufficient to run the repl, isn't
it?
2012/5/22 Pierre-Henry Perret phper
Yes, that was it, just adding a key solved it.
Thanks
Le mercredi 25 avril 2012 20:42:42 UTC+2, David Nolen a écrit :
Perhaps you are calling 'get' on something which has not implemented or
not been extended to ILookup.
On Wed, Apr 25, 2012 at 2:38 PM, Pierre-Henry Perret wrote:
When
Hi,
In ClojureScriptOne view, the *snippets* macros are required (with
'require-macros' ) in the view.cljs file.
My question is : how to use an Enlive *html/deftemplate* * *in this same
file.
For instance in snippets I have this macro: (html/deftemplate a-template
forms...)
If in the
Steven,
Have you tried that:
(if Jesus Christ true)
?
Le samedi 7 avril 2012 16:53:17 UTC+2, Steven Obua a écrit :
Hi,
I am using Clojure for a month now. I like it a lot so far, but there
are a couple of little details that make me very afraid. Foremost:
(if (Boolean. false) jesus
CANCELED
Le vendredi 6 avril 2012 16:16:21 UTC+2, Pierre-Henry Perret a écrit :
I constantly get the following error when trying evaluating a clojures
script exp (from remoting sample, a request)
__
#SyntaxError: Unexpected token .
SyntaxError: Unexpected token
I constantly get the following error when trying evaluating a clojures
script exp (from remoting sample, a request)
__
#SyntaxError: Unexpected token .
SyntaxError: Unexpected token .
at http://localhost:8080/javascripts/out/clojure/browser/repl.js:21:158
at
Hi all, after launching the repl in clj-one I get this st:
Type (go) to launch the development server and setup a browser-connected
REPL.
Type (dev-server) to launch only the development server.
Type (stop) to stop the running instance server
Type (restart) to restart server
-Henry Perret phper...@gmail.com
wrote:
How to disable/enable the appcache in One ?
This is related to a manifest cache which is present in the root folder
of
the application.
But in One, it seems to be automatically generated...
--
You received this message because you
The following clojurescript code :
code(def *peers* (agent {}))/code
compiles to this js code:
codeone.peer.peer._STAR_peers_STAR_ = one.peer.peer.agent.call(null,cljs.
core.ObjMap.fromObject([],{}));/code
which throws
_
1. Uncaught TypeError: Cannot call method 'call' of
That solved it!
Thanks
Le lundi 2 avril 2012 16:26:08 UTC+2, David Nolen a écrit :
Remove all generated JS as well as the invisible .repl folders. Does the
problem still persist?
On Saturday, March 31, 2012, Pierre-Henry Perret wrote:
Hi all, after launching the repl in clj-one I get
How to disable/enable the appcache in One ?
This is related to a manifest cache which is present in the root folder of
the application.
But in One, it seems to be automatically generated...
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to
Hi,
I have succeeded in creating another development page by restarting the vm.
I dont know why it is not recompiled when reloading the page...
Le vendredi 16 mars 2012 04:50:17 UTC+1, George Oliver a écrit :
hi, I'm starting to modify the One sample application and can't get
the hang of
Le mardi 20 mars 2012 17:59:02 UTC+1, Pierre-Henry Perret a écrit :
I have added a new model cljs file in my dev One app , but when I use it
in the controller, that one doesnt see it.
Any idea, suggestion?
Thanks
Also, to effectively recoompile the snippets macro, I'll have the whome JVM
I have added a new model cljs file in my dev One app , but when I use it in
the controller, that one doesnt see it.
Any idea, suggestion?
Thanks
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Yes, good question. It leads to another one: is ther a clojure hook to
stop the server ?
I personally kill the process to sweep out the vm and then can restart
again.
Le jeudi 8 mars 2012 09:21:58 UTC+1, George Oliver a écrit :
hi, I'm just starting with ClojureScript and ClojureScript One.
Brutal error when trying a new login fom on top of C-ONE (just addin a
login form as an li inside div topBar )
Then when REPLing the new atom 'login-form' I get the here after st :
__
ClojureScript:one.sample.model login-form
java.lang.RuntimeException: java.net.SocketException:
57 matches
Mail list logo