You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/05/28 22:33:29 UTC
[2/2] js commit: Add missing license headers (found by RAT) (cherry
picked from commit 76065a142e1eb0c28cfd57a38ce46f0613961918)
Add missing license headers (found by RAT)
(cherry picked from commit 76065a142e1eb0c28cfd57a38ce46f0613961918)
Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/2df66a73
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/2df66a73
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/2df66a73
Branch: refs/heads/2.8.x
Commit: 2df66a73713e26934d369594b6f750db79df1b6c
Parents: 22bc4d8
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue May 28 16:32:57 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue May 28 16:33:21 2013 -0400
----------------------------------------------------------------------
README.md | 20 +++++++++++++++
lib/android/plugin/android/nativeapiprovider.js | 19 ++++++++++++++
lib/android/plugin/android/promptbasednativeapi.js | 19 ++++++++++++++
3 files changed, 58 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/2df66a73/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index f3a3d47..994f05c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +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.
+#
+-->
A unified JavaScript layer for [Apache Cordova](http://incubator.apache.org/projects/callback.html) projects.
# Project Structure
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/2df66a73/lib/android/plugin/android/nativeapiprovider.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/nativeapiprovider.js b/lib/android/plugin/android/nativeapiprovider.js
index b8b4b59..50fd8ad 100644
--- a/lib/android/plugin/android/nativeapiprovider.js
+++ b/lib/android/plugin/android/nativeapiprovider.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+*/
+
/**
* Exports the ExposedJsApi.java object if available, otherwise exports the PromptBasedNativeApi.
*/
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/2df66a73/lib/android/plugin/android/promptbasednativeapi.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/promptbasednativeapi.js b/lib/android/plugin/android/promptbasednativeapi.js
index e89084d..a665135 100644
--- a/lib/android/plugin/android/promptbasednativeapi.js
+++ b/lib/android/plugin/android/promptbasednativeapi.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+*/
+
/**
* Implements the API of ExposedJsApi.java, but uses prompt() to communicate.
* This is used only on the 2.3 simulator, where addJavascriptInterface() is broken.