panweitong 610c72b394 update 4 years ago
..
COPYING 610c72b394 update 4 years ago
README 610c72b394 update 4 years ago
SoyMsgExtractor.jar 610c72b394 update 4 years ago
SoyToJsSrcCompiler.jar 610c72b394 update 4 years ago
soyutils.js 610c72b394 update 4 years ago

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/