--- modules/damieng/doc/graphical_editor.tex 2015/05/14 15:18:58 1.3 +++ modules/damieng/doc/graphical_editor.tex 2015/05/14 17:51:10 1.4 @@ -81,7 +81,7 @@ Note that was a bug in the Dart SDK 1.5 \subsection{Export to Javascript} -Note that an export is not necessary to just test Daxe with Javascript (as explained above). -To export the Javascript code and related files for use in LON-CAPA, select a LON-CAPA Daxe file (as opposed to Daxe) in the Dart editor, -and select the menu \texttt{Tools - Pub Build (generates JS)}. A whole directory is built in \texttt{loncapa\_daxe/build}. -This does not create a directory with a minimal set of files. \texttt{loncapa\_daxe/build.sh} can be used for that. +Note that an export is not necessary to just test Daxe with Javascript (it can be done with Dart Editor, as explained above). + +To export the minimized Javascript code and related files for use in LON-CAPA, use the \texttt{loncapa\_daxe/build.sh} script. It creates a \texttt{dist} directory with everything needed to run LON-CAPA Daxe in any web browser. Note that depending on the browser, it might not work with "file://" URLs (because of security restrictions), so the contents have to be put on a web server first. +