| 1 |
// Copyright 2009 Google Inc. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
|
| 16 |
Contents: |
| 17 |
|
| 18 |
+ SoyToJsSrcCompiler.jar |
| 19 |
Executable jar that compiles template files into JavaScript files. |
| 20 |
|
| 21 |
+ SoyMsgExtractor.jar |
| 22 |
Executable jar that extracts messages from template files into XLF files. |
| 23 |
|
| 24 |
+ soyutils.js |
| 25 |
Helper utilities required by all JavaScript code that SoyToJsSrcCompiler |
| 26 |
generates. Equivalent functionality to soyutils_usegoog.js, but this |
| 27 |
version does not need Closure Library. |
| 28 |
|
| 29 |
|
| 30 |
Instructions: |
| 31 |
|
| 32 |
+ A simple Hello World for JavaScript: |
| 33 |
http://code.google.com/closure/templates/docs/helloworld_js.html |
| 34 |
|
| 35 |
+ Complete documentation: |
| 36 |
http://code.google.com/closure/templates/ |
| 37 |
|
| 38 |
+ Closure Templates project on Google Code: |
| 39 |
http://code.google.com/p/closure-templates/ |
| 40 |
|
| 41 |
|
| 42 |
Notes: |
| 43 |
|
| 44 |
+ Closure Templates requires Java 6 or higher: |
| 45 |
http://www.java.com/ |