On Sun, Feb 18, 2018 at 11:07 AM, vitalije <[email protected]> wrote:

> Don't forget namespace you are in when entering commands in figwheel
> shell. Current namespace is displayed in prompt. For example initially
> prompt:
> dev-front:cljs.user=>
> says that you are inside cljs.user namespace. You need require
> leo-front.core namespace before you can use it.
> (require '[leo-front.core])
>
> And prompt should change to:
> dev-front:leo-front.core=>
>
> After that you can issue:
> (get-leo-doc "path to any leo document")
>
>
​I see.  After this there are still warnings, but the console looks like it
has loaded the file:

dev-front:leo-front/core=> (get-leo-doc "leocljs-ref.leo")
[36m----  Compiler Warning on
/c:/leo.repo/leo-editor/leo/proto/Vitalije/leocljs/<cljs repl>   line:1
column:2  ---- [0m

  [33mUse of undeclared Var leo-front/core/get-leo-doc [0m

  [33m1 [0m  [1m(get-leo-doc "leocljs-ref.leo") [0m
  [0m [0m  [33m ^--- [0m

[36m----  Compiler Warning : Please see
/c:/leo.repo/leo-editor/leo/proto/Vitalije/leocljs/<cljs repl>  ---- [0m
#object[Object [object Object]]
dev-front:leo-front/core=>

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to