diff --git a/README b/README index d254a21..0adbf1f 100644 --- a/README +++ b/README @@ -12,23 +12,23 @@ This will pull in the google closure library: git submodule init git submodule update - -If you make an edit that changes a goog.provide or goog.require statement, -there are two ways to update deps.js: the first (recommended) is with the ant build script or you can use + +If you make an edit that changes a goog.provide or goog.require statement, +there are two ways to update deps.js: the first (recommended) is with the ant build script or you can use the command line to invoke calcdeps.py as described below. The ant script also provides for running the closure compiler which, in addition to minimizing the code to a single file, also provides many useful checks. With ant: -You need to have ant installed (http://ant.apache.org). +You need to have ant installed (http://ant.apache.org). From the base jchemhub directory, to see the usage message, just execute ant - + Usage is the default target, so you should see output something like this: - + Buildfile: build.xml usage: @@ -44,26 +44,26 @@ Usage is the default target, so you should see output something like this: compile-whitespace-only compile with WHITESPACE_ONLY setting usage Display main targets by running 'ant -projecthelp' Default target: usage - + To update deps.js, execute the build-deps target: - + ant build-deps - -The targets compile-whitespace-only, compile-simple, compile-advanced include only files to support jchemhub.controller.ReactionEditor. + +The targets compile-whitespace-only, compile-simple, compile-advanced include only files to support jchemhub.controller.ReactionEditor. The smallest download size will result from executing: - + ant compile-advanced - + The compile output will be created in a 'build' directory that will be created if necessary. The target compile-check attempts to compile all jchemhub code. This purpose of this target is to take advantage of the closure compile-time checks that -include static type checking, access violations, etc. For more information on options (not all of which are currently enabled in the ant build script) see +include static type checking, access violations, etc. For more information on options (not all of which are currently enabled in the ant build script) see http://code.google.com/p/closure-compiler/wiki/Warnings. Alternatively, without ant, it is also possibly to execute the calcdeps python script as follows to re-generate deps.js: cd third-party/closure/closure/goog/ - - python ../bin/calcdeps.py -o deps -p ../../../../jchemhub/ -p ../../closure/ > ../../../../jchemhub/deps.js + + python ../bin/calcdeps.py -o deps -p ../../../../jchemhub/ -p ../../closure/ > ../../../../jchemhub/deps.js diff --git a/alltests.js b/alltests.js index 171dd2e..b5091a2 100644 --- a/alltests.js +++ b/alltests.js @@ -13,10 +13,10 @@ // limitations under the License. var _allTests = [ "jchemhub/smiles/smiles_parser_test.html", - "jchemhub/math/line_test.html", + "jchemhub/math/line_test.html", "/jchemhub/io/json_test.html", - "jchemhub/io/mdl_test.html", - "jchemhub/model/model_test.html", + "jchemhub/io/mdl_test.html", + "jchemhub/model/model_test.html", "jchemhub/ring/ring_finder_test.html", - "jchemhub/view/plugin_test.html", + "jchemhub/view/plugin_test.html", "jchemhub/view/reaction_editor_test.html"]; \ No newline at end of file diff --git a/index.html b/index.html index c8a1404..4af8504 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@