Update CoffeeScript compiler to 1.7.1
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/218d4c72 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/218d4c72 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/218d4c72 Branch: refs/heads/master Commit: 218d4c722f15e0f142fa5c05e59b766cad714d0d Parents: d7919c2 Author: Howard M. Lewis Ship <[email protected]> Authored: Fri Feb 7 15:31:34 2014 -0500 Committer: Howard M. Lewis Ship <[email protected]> Committed: Fri Feb 7 15:31:34 2014 -0500 ---------------------------------------------------------------------- .../internal/webresources/CoffeeScriptCompiler.java | 16 +++++++++++++++- .../webresources/internal/coffee-script.js | 12 ++++++++++++ .../webresources/internal/coffeescript-1.6.3.js | 12 ------------ 3 files changed, 27 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/218d4c72/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/CoffeeScriptCompiler.java ---------------------------------------------------------------------- diff --git a/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/CoffeeScriptCompiler.java b/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/CoffeeScriptCompiler.java index 5871b61..571530d 100644 --- a/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/CoffeeScriptCompiler.java +++ b/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/CoffeeScriptCompiler.java @@ -1,3 +1,17 @@ +// Copyright 2013-2014 The Apache Software Foundation +// +// 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. + package org.apache.tapestry5.internal.webresources; import org.apache.commons.io.IOUtils; @@ -26,7 +40,7 @@ public class CoffeeScriptCompiler implements ResourceTransformer return "text/javascript"; } - public CoffeeScriptCompiler(@Path("classpath:org/apache/tapestry5/webresources/internal/coffeescript-1.6.3.js") + public CoffeeScriptCompiler(@Path("classpath:org/apache/tapestry5/webresources/internal/coffee-script.js") Resource mainCompiler, @Path("classpath:org/apache/tapestry5/webresources/internal/invoke-coffeescript.js") Resource shim,
