On Wed, May 25, 2016 at 8:05 PM, dullfig <da...@grmcompany.com> wrote:

> Hello:
>
> I was wondering if anyone else has done this. My application is starting to
> need a whole bunch of javascript, and I was thinking of setting up a
> separate space (maybe call it js) where there is nothing but pages with
> javascript objects attached.
>


> That way I could set up a ClassSheet for that
> space,


ClassSheets, as their name suggests, are bound to a class not to a space.
So you don't have to move the pages with JSX objects in a separate space.
You can create a new class, with a sheet that embeds ACE, and add an object
of this class to all the pages you want to edit with ACE. But even this is
not needed as there are already some extensions available that provide
syntax highlighting, if that's what you are looking for.

Hope this helps,
Marius


> whith an embedded javascript editor (ace editor) to make editing the
> javascript easier.
>
> Dan.
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Setup-a-sepparate-space-for-javascript-tp7599647.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to