Author: mhermanto
Date: Thu Feb 24 01:07:16 2011
New Revision: 1074004
URL: http://svn.apache.org/viewvc?rev=1074004&view=rev
Log:
Globalize/feature Caja-related variables.
http://codereview.appspot.com/4187052/
Added:
shindig/trunk/features/src/main/javascript/features/taming/
shindig/trunk/features/src/main/javascript/features/taming/feature.xml
shindig/trunk/features/src/main/javascript/features/taming/taming.js
Modified:
shindig/trunk/features/src/main/javascript/features/features.txt
Modified: shindig/trunk/features/src/main/javascript/features/features.txt
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/features.txt?rev=1074004&r1=1074003&r2=1074004&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/features.txt (original)
+++ shindig/trunk/features/src/main/javascript/features/features.txt Thu Feb 24
01:07:16 2011
@@ -74,6 +74,7 @@ features/shindig.xhrwrapper/feature.xml
features/skins/feature.xml
features/swfobject/feature.xml
features/tabs/feature.xml
+features/taming/feature.xml
features/views/feature.xml
features/xhrwrapper/feature.xml
features/xmlutil/feature.xml
Added: shindig/trunk/features/src/main/javascript/features/taming/feature.xml
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/taming/feature.xml?rev=1074004&view=auto
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/taming/feature.xml
(added)
+++ shindig/trunk/features/src/main/javascript/features/taming/feature.xml Thu
Feb 24 01:07:16 2011
@@ -0,0 +1,27 @@
+<?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>
+ <name>taming</name>
+ <gadget>
+ <script src="taming.js"/>
+ </gadget>
+ <container>
+ <script src="taming.js"/>
+ </container>
+</feature>
\ No newline at end of file
Added: shindig/trunk/features/src/main/javascript/features/taming/taming.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/taming/taming.js?rev=1074004&view=auto
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/taming/taming.js (added)
+++ shindig/trunk/features/src/main/javascript/features/taming/taming.js Thu
Feb 24 01:07:16 2011
@@ -0,0 +1,35 @@
+/*
+ * 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.
+ */
+
+/**
+ * @namespace The global safeJSON namespace
+ * @type {Object}
+ */
+var safeJSON = safeJSON || {};
+
+/**
+ * @namespace The global tamings___ namespace
+ * @type {Array.<Function>}
+ */
+var tamings___ = tamings___ || [];
+
+/**
+ * @namespace The global ___ namespace
+ * @type {Object}
+ */
+var ___ = ___ || {};