This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.testing-content-1.0.6 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-testing-content.git
commit 5a747103909d37408d128c1291308a139fc04bf4 Author: Radu Cotescu <[email protected]> AuthorDate: Wed Sep 2 13:21:42 2015 +0000 SLING-4989 - The JavaScript Use Provider fails to correctly load script using inheritance * made sure that an included script can successfully call an inherited script git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/testing-content@1700810 13f79535-47bb-0310-9956-ffa450edef68 --- .../scripts/useinheritance/child/notoverlaid.html | 17 ++++++++++++++++ .../useinheritance/grandparent/notoverlaid.js | 23 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/src/main/resources/SLING-INF/apps/sightly/scripts/useinheritance/child/notoverlaid.html b/src/main/resources/SLING-INF/apps/sightly/scripts/useinheritance/child/notoverlaid.html new file mode 100644 index 0000000..b98e1a2 --- /dev/null +++ b/src/main/resources/SLING-INF/apps/sightly/scripts/useinheritance/child/notoverlaid.html @@ -0,0 +1,17 @@ +<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~ Licensed to the Apache Software Foundation (ASF) under one or more + ~ contributor license agreements. See the NOTICE file distributed with + ~ this work for additional information regarding copyright ownership. + ~ The ASF licenses this file to You 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. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> +<div id="notoverlaid" data-sly-use.notoverlaid="notoverlaid.js">${notoverlaid.message}</div> \ No newline at end of file diff --git a/src/main/resources/SLING-INF/apps/sightly/scripts/useinheritance/grandparent/notoverlaid.js b/src/main/resources/SLING-INF/apps/sightly/scripts/useinheritance/grandparent/notoverlaid.js new file mode 100644 index 0000000..5a73051 --- /dev/null +++ b/src/main/resources/SLING-INF/apps/sightly/scripts/useinheritance/grandparent/notoverlaid.js @@ -0,0 +1,23 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + ******************************************************************************/ +/*global use*/ +use(function () { + 'use strict'; + return { + message: 'notoverlaid' + } +}); \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
