You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/07/02 02:05:10 UTC

svn commit: r1142121 - /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tree.js

Author: hlship
Date: Sat Jul  2 00:05:09 2011
New Revision: 1142121

URL: http://svn.apache.org/viewvc?rev=1142121&view=rev
Log:
TAP5-999: Add missing copyright, and use lower-case for "package" name

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tree.js

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tree.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tree.js?rev=1142121&r1=1142120&r2=1142121&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tree.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tree.js Sat Jul  2 00:05:09 2011
@@ -1,5 +1,20 @@
+/* Copyright 2011 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.
+ */
+
 T5.extend(T5, {
-	Tree : {
+	tree : {
 
 		/**
 		 * Approximate time per pixel for the hide and reveal animations. The
@@ -29,7 +44,7 @@ T5.extend(T5, {
 
 T5.extendInitializer(function() {
 
-	var cfg = T5.Tree;
+	var cfg = T5.tree;
 
 	function doAnimate(element) {
 		var sublist = $(element).up('li').down("ul");