/closure-templates

Legacy version of Google Closure Templates

Primary LanguageJavaScriptApache License 2.0Apache-2.0

// 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.

+ 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.

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


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/