On Sat, Dec 1, 2012 at 9:42 AM, Todd Greenwood-Geer <
[email protected]> wrote:

> I have a project that I've imported. Upon read @auto nodes (or whenever I
> open this project in leo), I get the following error dialog:
>
> http://imgur.com/2oGfB
>
> On import, I get quite a few errors in the leo log:
>
> """
> })(window, document);
> warning: function function does not end with a newline; one will be added
> """
>
> So, what is the standard way of importing existing js libraries?
>

Sorry for the delay in responding.  These are warnings, not errors.  Iirc,
errors cause @ignore to be inserted into the imported outline, so you must
choose to remove the @ignore in order to actually change the original
file.  That seems to be the safe way.

Perhaps the js importer could be improved.  Please feel free to submit a
bug report.

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 http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to