chao faf16d266e update 2 月之前
..
COPYING faf16d266e update 2 月之前
README faf16d266e update 2 月之前
SoyMsgExtractor.jar faf16d266e update 2 月之前
SoyToJsSrcCompiler.jar faf16d266e update 2 月之前
soyutils.js faf16d266e update 2 月之前

README

// Copyright 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.


Contents:

+ SoyToJsSrcCompiler.jar
Executable jar that compiles template files into JavaScript files.

+ SoyMsgExtractor.jar
Executable jar that extracts messages from template files into XLF files.

+ soyutils.js
Helper utilities required by all JavaScript code that SoyToJsSrcCompiler
generates. Equivalent functionality to soyutils_usegoog.js, but this
version does not need Closure Library.


Instructions:

+ A simple Hello World for JavaScript:
http://code.google.com/closure/templates/docs/helloworld_js.html

+ Complete documentation:
http://code.google.com/closure/templates/

+ Closure Templates project on Google Code:
http://code.google.com/p/closure-templates/


Notes:

+ Closure Templates requires Java 6 or higher:
http://www.java.com/