You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by jo...@gmail.com on 2009/12/16 22:06:02 UTC

feature=core.none (issue179084)

Reviewers: shindig.remailer_gmail.com,

Description:
This feature placeholder allows gadget developers to do:
<Require feature="core.none"/>

...in the presence of which, the gadget rendering server will omit _all_
core.* JavaScript from output (for the Java gadget server, at least -
this will be harmless, at worst, for PHP).

Please review this at http://codereview.appspot.com/179084

Affected files:
   features/src/main/javascript/features/core.none/feature.xml


Index: features/src/main/javascript/features/core.none/feature.xml
===================================================================
--- features/src/main/javascript/features/core.none/feature.xml	(revision 0)
+++ features/src/main/javascript/features/core.none/feature.xml	(revision 0)
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<feature>
+  <!--
+    A blank feature whose name starts with the special string "core."
+    Gadget developers may include this if they prefer that the renderer
+    omit *all* core JavaScript from output.
+  -->
+  <name>core.none</name>
+</feature>