incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [1/4] js commit: [CB-1487] license header audit in js
Date Mon, 17 Sep 2012 21:33:55 GMT
Updated Branches:
  refs/heads/master dab8e8485 -> 68e3e2749


[CB-1487] license header audit in js


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/68e3e274
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/68e3e274
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/68e3e274

Branch: refs/heads/master
Commit: 68e3e2749ef3f65546fbcfdbc8252362582337ad
Parents: dab8e84
Author: Fil Maj <maj.fil@gmail.com>
Authored: Mon Sep 17 14:32:46 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Mon Sep 17 14:32:46 2012 -0700

----------------------------------------------------------------------
 Jakefile                                           |   18 +++++++++++
 build/packager.js                                  |   19 ++++++++++++
 lib/android/exec.js                                |   21 +++++++++++++
 lib/android/platform.js                            |   21 +++++++++++++
 lib/android/plugin/android/app.js                  |   23 ++++++++++++++-
 lib/android/plugin/android/callback.js             |   21 +++++++++++++
 lib/android/plugin/android/device.js               |   21 +++++++++++++
 lib/android/plugin/android/notification.js         |   23 ++++++++++++++-
 lib/android/plugin/android/polling.js              |   21 +++++++++++++
 lib/android/plugin/android/storage.js              |   21 +++++++++++++
 lib/bada/exec.js                                   |   21 +++++++++++++
 lib/bada/platform.js                               |   21 +++++++++++++
 lib/bada/plugin/bada/Accelerometer.js              |   21 +++++++++++++
 lib/bada/plugin/bada/Camera.js                     |   21 +++++++++++++
 lib/bada/plugin/bada/Capture.js                    |   21 +++++++++++++
 lib/bada/plugin/bada/Compass.js                    |   21 +++++++++++++
 lib/bada/plugin/bada/Contacts.js                   |   21 +++++++++++++
 lib/bada/plugin/bada/NetworkStatus.js              |   21 +++++++++++++
 lib/bada/plugin/bada/Notification.js               |   21 +++++++++++++
 lib/bada/plugin/bada/device.js                     |   21 +++++++++++++
 lib/common/builder.js                              |   21 +++++++++++++
 lib/common/channel.js                              |   21 +++++++++++++
 lib/common/common.js                               |   21 +++++++++++++
 lib/common/exec.js                                 |   21 +++++++++++++
 lib/common/platform.js                             |   21 +++++++++++++
 lib/common/plugin/Acceleration.js                  |   21 +++++++++++++
 lib/common/plugin/Camera.js                        |   23 ++++++++++++++-
 lib/common/plugin/CameraConstants.js               |   23 ++++++++++++++-
 lib/common/plugin/CameraPopoverOptions.js          |   23 ++++++++++++++-
 lib/common/plugin/CaptureAudioOptions.js           |   23 ++++++++++++++-
 lib/common/plugin/CaptureError.js                  |   23 ++++++++++++++-
 lib/common/plugin/CaptureImageOptions.js           |   23 ++++++++++++++-
 lib/common/plugin/CaptureVideoOptions.js           |   23 ++++++++++++++-
 lib/common/plugin/CompassError.js                  |   23 ++++++++++++++-
 lib/common/plugin/CompassHeading.js                |   23 ++++++++++++++-
 lib/common/plugin/ConfigurationData.js             |   23 ++++++++++++++-
 lib/common/plugin/Connection.js                    |   23 ++++++++++++++-
 lib/common/plugin/Contact.js                       |   21 +++++++++++++
 lib/common/plugin/ContactAddress.js                |   23 ++++++++++++++-
 lib/common/plugin/ContactError.js                  |   23 ++++++++++++++-
 lib/common/plugin/ContactField.js                  |   23 ++++++++++++++-
 lib/common/plugin/ContactFindOptions.js            |   23 ++++++++++++++-
 lib/common/plugin/ContactName.js                   |   23 ++++++++++++++-
 lib/common/plugin/ContactOrganization.js           |   23 ++++++++++++++-
 lib/common/plugin/Coordinates.js                   |   21 +++++++++++++
 lib/common/plugin/DirectoryEntry.js                |   21 +++++++++++++
 lib/common/plugin/DirectoryReader.js               |   21 +++++++++++++
 lib/common/plugin/Entry.js                         |   23 ++++++++++++++-
 lib/common/plugin/File.js                          |   23 ++++++++++++++-
 lib/common/plugin/FileEntry.js                     |   23 ++++++++++++++-
 lib/common/plugin/FileError.js                     |   23 ++++++++++++++-
 lib/common/plugin/FileReader.js                    |   23 ++++++++++++++-
 lib/common/plugin/FileSystem.js                    |   21 +++++++++++++
 lib/common/plugin/FileTransfer.js                  |   21 +++++++++++++
 lib/common/plugin/FileTransferError.js             |   21 +++++++++++++
 lib/common/plugin/FileUploadOptions.js             |   21 +++++++++++++
 lib/common/plugin/FileUploadResult.js              |   23 ++++++++++++++-
 lib/common/plugin/FileWriter.js                    |   21 +++++++++++++
 lib/common/plugin/Flags.js                         |   23 ++++++++++++++-
 lib/common/plugin/LocalFileSystem.js               |   23 ++++++++++++++-
 lib/common/plugin/Media.js                         |   23 ++++++++++++++-
 lib/common/plugin/MediaError.js                    |   21 +++++++++++++
 lib/common/plugin/MediaFile.js                     |   21 +++++++++++++
 lib/common/plugin/MediaFileData.js                 |   23 ++++++++++++++-
 lib/common/plugin/Metadata.js                      |   23 ++++++++++++++-
 lib/common/plugin/Position.js                      |   21 +++++++++++++
 lib/common/plugin/PositionError.js                 |   23 ++++++++++++++-
 lib/common/plugin/ProgressEvent.js                 |   23 ++++++++++++++-
 lib/common/plugin/accelerometer.js                 |   21 +++++++++++++
 lib/common/plugin/battery.js                       |   23 ++++++++++++++-
 lib/common/plugin/capture.js                       |   21 +++++++++++++
 lib/common/plugin/compass.js                       |   23 ++++++++++++++-
 lib/common/plugin/console-via-logger.js            |   21 +++++++++++++
 lib/common/plugin/contacts.js                      |   21 +++++++++++++
 lib/common/plugin/device.js                        |   21 +++++++++++++
 lib/common/plugin/echo.js                          |   21 +++++++++++++
 lib/common/plugin/geolocation.js                   |   21 +++++++++++++
 lib/common/plugin/logger.js                        |   21 +++++++++++++
 lib/common/plugin/network.js                       |   23 ++++++++++++++-
 lib/common/plugin/notification.js                  |   23 ++++++++++++++-
 lib/common/plugin/requestFileSystem.js             |   23 ++++++++++++++-
 lib/common/plugin/resolveLocalFileSystemURI.js     |   21 +++++++++++++
 lib/common/plugin/splashscreen.js                  |   23 ++++++++++++++-
 lib/common/utils.js                                |   21 +++++++++++++
 lib/cordova.js                                     |   22 ++++++++++++++
 lib/ios/exec.js                                    |   21 +++++++++++++
 lib/ios/platform.js                                |   21 +++++++++++++
 lib/ios/plugin/ios/Contact.js                      |   23 ++++++++++++++-
 lib/ios/plugin/ios/Entry.js                        |   23 ++++++++++++++-
 lib/ios/plugin/ios/FileReader.js                   |   23 ++++++++++++++-
 lib/ios/plugin/ios/console.js                      |   23 ++++++++++++++-
 lib/ios/plugin/ios/contacts.js                     |   23 ++++++++++++++-
 lib/ios/plugin/ios/nativecomm.js                   |   21 +++++++++++++
 lib/ios/plugin/ios/notification.js                 |   23 ++++++++++++++-
 lib/scripts/bootstrap-bada.js                      |   21 +++++++++++++
 lib/scripts/bootstrap-playbook.js                  |   23 ++++++++++++++-
 lib/scripts/bootstrap-qnx.js                       |   21 +++++++++++++
 lib/scripts/bootstrap-tizen.js                     |   21 +++++++++++++
 lib/scripts/bootstrap-win8metro.js                 |   23 ++++++++++++++-
 lib/scripts/bootstrap.js                           |   21 +++++++++++++
 lib/scripts/require.js                             |   23 ++++++++++++++-
 lib/test/exec.js                                   |   23 ++++++++++++++-
 lib/tizen/exec.js                                  |   21 +++++++++++++
 lib/tizen/platform.js                              |   21 +++++++++++++
 lib/tizen/plugin/tizen/Accelerometer.js            |   23 ++++++++++++++-
 lib/tizen/plugin/tizen/Battery.js                  |   21 +++++++++++++
 lib/tizen/plugin/tizen/BufferLoader.js             |   21 +++++++++++++
 lib/tizen/plugin/tizen/Camera.js                   |   21 +++++++++++++
 lib/tizen/plugin/tizen/Compass.js                  |   21 +++++++++++++
 lib/tizen/plugin/tizen/Contact.js                  |   21 +++++++++++++
 lib/tizen/plugin/tizen/ContactUtils.js             |   21 +++++++++++++
 lib/tizen/plugin/tizen/Device.js                   |   21 +++++++++++++
 lib/tizen/plugin/tizen/File.js                     |   21 +++++++++++++
 lib/tizen/plugin/tizen/FileTransfer.js             |   21 +++++++++++++
 lib/tizen/plugin/tizen/Media.js                    |   21 +++++++++++++
 lib/tizen/plugin/tizen/MediaError.js               |   23 ++++++++++++++-
 lib/tizen/plugin/tizen/NetworkStatus.js            |   21 +++++++++++++
 lib/tizen/plugin/tizen/Notification.js             |   21 +++++++++++++
 lib/tizen/plugin/tizen/SoundBeat.js                |   21 +++++++++++++
 lib/tizen/plugin/tizen/contacts.js                 |   21 +++++++++++++
 lib/tizen/plugin/tizen/manager.js                  |   21 +++++++++++++
 lib/webworks/air/platform.js                       |   21 +++++++++++++
 lib/webworks/air/plugin/air/DirectoryEntry.js      |   21 +++++++++++++
 lib/webworks/air/plugin/air/DirectoryReader.js     |   21 +++++++++++++
 lib/webworks/air/plugin/air/Entry.js               |   21 +++++++++++++
 lib/webworks/air/plugin/air/File.js                |   23 ++++++++++++++-
 lib/webworks/air/plugin/air/FileEntry.js           |   21 +++++++++++++
 lib/webworks/air/plugin/air/FileReader.js          |   21 +++++++++++++
 lib/webworks/air/plugin/air/FileTransfer.js        |   21 +++++++++++++
 lib/webworks/air/plugin/air/FileWriter.js          |   21 +++++++++++++
 lib/webworks/air/plugin/air/battery.js             |   21 +++++++++++++
 lib/webworks/air/plugin/air/camera.js              |   21 +++++++++++++
 lib/webworks/air/plugin/air/capture.js             |   21 +++++++++++++
 lib/webworks/air/plugin/air/device.js              |   21 +++++++++++++
 lib/webworks/air/plugin/air/network.js             |   21 +++++++++++++
 lib/webworks/air/plugin/air/requestFileSystem.js   |   21 +++++++++++++
 .../air/plugin/air/resolveLocalFileSystemURI.js    |   21 +++++++++++++
 lib/webworks/air/plugin/manager.js                 |   21 +++++++++++++
 .../common/plugin/webworks/accelerometer.js        |   21 +++++++++++++
 lib/webworks/common/plugin/webworks/logger.js      |   21 +++++++++++++
 lib/webworks/common/plugin/webworks/media.js       |   21 +++++++++++++
 .../common/plugin/webworks/notification.js         |   21 +++++++++++++
 lib/webworks/exec.js                               |   21 +++++++++++++
 lib/webworks/java/platform.js                      |   21 +++++++++++++
 lib/webworks/java/plugin/java/Contact.js           |   21 +++++++++++++
 lib/webworks/java/plugin/java/ContactUtils.js      |   21 +++++++++++++
 lib/webworks/java/plugin/java/DirectoryEntry.js    |   23 ++++++++++++++-
 lib/webworks/java/plugin/java/Entry.js             |   21 +++++++++++++
 lib/webworks/java/plugin/java/MediaError.js        |   23 ++++++++++++++-
 lib/webworks/java/plugin/java/app.js               |   21 +++++++++++++
 lib/webworks/java/plugin/java/contacts.js          |   21 +++++++++++++
 lib/webworks/java/plugin/java/notification.js      |   23 ++++++++++++++-
 lib/webworks/java/plugin/manager.js                |   21 +++++++++++++
 lib/webworks/qnx/platform.js                       |   21 +++++++++++++
 lib/webworks/qnx/plugin/manager.js                 |   21 +++++++++++++
 lib/webworks/qnx/plugin/qnx/device.js              |   21 +++++++++++++
 lib/webworks/qnx/plugin/qnx/network.js             |   21 +++++++++++++
 lib/webworks/qnx/plugin/qnx/requestFileSystem.js   |   21 +++++++++++++
 .../qnx/plugin/qnx/resolveLocalFileSystemURI.js    |   21 +++++++++++++
 lib/windows8/exec.js                               |   21 +++++++++++++
 lib/windows8/platform.js                           |   21 +++++++++++++
 lib/windows8/plugin/windows8/AccelerometerProxy.js |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/CameraProxy.js        |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/CaptureProxy.js       |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/CompassProxy.js       |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/DeviceProxy.js        |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/FileProxy.js          |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/MediaFile.js          |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/MediaProxy.js         |   21 +++++++++++++
 lib/windows8/plugin/windows8/NetworkStatusProxy.js |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/NotificationProxy.js  |   23 ++++++++++++++-
 lib/windows8/plugin/windows8/console.js            |   21 +++++++++++++
 lib/windows8/plugin/windows8/device.js             |   21 +++++++++++++
 lib/windows8/plugin/windows8/geolocation.js        |   23 ++++++++++++++-
 lib/wp7/exec.js                                    |   21 +++++++++++++
 lib/wp7/platform.js                                |   21 +++++++++++++
 lib/wp7/plugin/wp7/CordovaCommandResult.js         |   21 +++++++++++++
 lib/wp7/plugin/wp7/CordovaMediaonStatus.js         |   23 ++++++++++++++-
 lib/wp7/plugin/wp7/DOMStorage.js                   |   21 +++++++++++++
 lib/wp7/plugin/wp7/FileTransfer.js                 |   21 +++++++++++++
 lib/wp7/plugin/wp7/FileUploadOptions.js            |   23 ++++++++++++++-
 lib/wp7/plugin/wp7/XHRPatch.js                     |   23 ++++++++++++++-
 lib/wp7/plugin/wp7/console.js                      |   23 ++++++++++++++-
 test/reporter.js                                   |   21 +++++++++++++
 test/runner.js                                     |   21 +++++++++++++
 test/suite.html                                    |   21 +++++++++++++
 test/test.accelerometer.js                         |   21 +++++++++++++
 test/test.battery.js                               |   21 +++++++++++++
 test/test.builder.js                               |   21 +++++++++++++
 test/test.camera.js                                |   21 +++++++++++++
 test/test.channel.js                               |   21 +++++++++++++
 test/test.compass.js                               |   21 +++++++++++++
 test/test.console-via-logger.js                    |   21 +++++++++++++
 test/test.contact.js                               |   21 +++++++++++++
 test/test.contacts.js                              |   21 +++++++++++++
 test/test.filetransfer.js                          |   21 +++++++++++++
 test/test.geolocation.js                           |   21 +++++++++++++
 test/test.logger.js                                |   21 +++++++++++++
 test/test.media.js                                 |   21 +++++++++++++
 test/test.network.js                               |   21 +++++++++++++
 test/test.notification.js                          |   21 +++++++++++++
 test/test.require.js                               |   21 +++++++++++++
 test/test.utils.js                                 |   21 +++++++++++++
 203 files changed, 4327 insertions(+), 68 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/Jakefile
----------------------------------------------------------------------
diff --git a/Jakefile b/Jakefile
index 173783d..45da862 100644
--- a/Jakefile
+++ b/Jakefile
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF
+ * or more contributor license agreements.  See th
+ * distributed with this work for additional infor
+ * regarding copyright ownership.  The ASF license
+ * to you under the Apache License, Version 2.0 (t
+ * "License"); you may not use this file except in
+ * with the License.  You may obtain a copy of the
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to 
+ * software distributed under the License is distr
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ * KIND, either express or implied.  See the Licen
+ * specific language governing permissions and lim
+ * under the License.
+ */
 
 var util         = require('util'),
     fs           = require('fs'),

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/build/packager.js
----------------------------------------------------------------------
diff --git a/build/packager.js b/build/packager.js
index 4076f16..52843fe 100644
--- a/build/packager.js
+++ b/build/packager.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF
+ * or more contributor license agreements.  See th
+ * distributed with this work for additional infor
+ * regarding copyright ownership.  The ASF license
+ * to you under the Apache License, Version 2.0 (t
+ * "License"); you may not use this file except in
+ * with the License.  You may obtain a copy of the
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to 
+ * software distributed under the License is distr
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ * KIND, either express or implied.  See the Licen
+ * specific language governing permissions and lim
+ * under the License.
+ */
+
 var fs    = require('fs')
 var util  = require('util')
 var path  = require('path')

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/exec.js
----------------------------------------------------------------------
diff --git a/lib/android/exec.js b/lib/android/exec.js
index df1d657..d5b2c1e 100644
--- a/lib/android/exec.js
+++ b/lib/android/exec.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * Execute a cordova command.  It is up to the native side whether this action
  * is synchronous or asynchronous.  The native side can return:

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/platform.js
----------------------------------------------------------------------
diff --git a/lib/android/platform.js b/lib/android/platform.js
index 29b87fc..bb38536 100644
--- a/lib/android/platform.js
+++ b/lib/android/platform.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 module.exports = {
     id: "android",
     initialize:function() {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/plugin/android/app.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/app.js b/lib/android/plugin/android/app.js
index c0b9769..e755799 100644
--- a/lib/android/plugin/android/app.js
+++ b/lib/android/plugin/android/app.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var exec = require('cordova/exec');
 
 module.exports = {
@@ -68,4 +89,4 @@ module.exports = {
   exitApp:function() {
     return exec(null, null, "App", "exitApp", []);
   }
-};
\ No newline at end of file
+};

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/plugin/android/callback.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/callback.js b/lib/android/plugin/android/callback.js
index 127740b..f101655 100644
--- a/lib/android/plugin/android/callback.js
+++ b/lib/android/plugin/android/callback.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var port = null,
     token = null,
     xmlhttp;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/plugin/android/device.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/device.js b/lib/android/plugin/android/device.js
index 9962dbb..4ce17c8 100644
--- a/lib/android/plugin/android/device.js
+++ b/lib/android/plugin/android/device.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var channel = require('cordova/channel'),
     utils = require('cordova/utils'),
     exec = require('cordova/exec'),

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/plugin/android/notification.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/notification.js b/lib/android/plugin/android/notification.js
old mode 100755
new mode 100644
index 750a106..8936a5c
--- a/lib/android/plugin/android/notification.js
+++ b/lib/android/plugin/android/notification.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var exec = require('cordova/exec');
 
 /**
@@ -50,4 +71,4 @@ module.exports = {
     progressValue : function(value) {
         exec(null, null, 'Notification', 'progressValue', [ value ]);
     }
-};
\ No newline at end of file
+};

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/plugin/android/polling.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/polling.js b/lib/android/plugin/android/polling.js
index 71b7c37..95bca07 100644
--- a/lib/android/plugin/android/polling.js
+++ b/lib/android/plugin/android/polling.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var cordova = require('cordova'),
     POLL_INTERVAL = 50,
     enabled = false;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/android/plugin/android/storage.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/storage.js b/lib/android/plugin/android/storage.js
index f4401fa..8788a76 100644
--- a/lib/android/plugin/android/storage.js
+++ b/lib/android/plugin/android/storage.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var utils = require('cordova/utils'),
     exec = require('cordova/exec'),
     channel = require('cordova/channel');

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/exec.js
----------------------------------------------------------------------
diff --git a/lib/bada/exec.js b/lib/bada/exec.js
index cbbccd1..b78ef8a 100644
--- a/lib/bada/exec.js
+++ b/lib/bada/exec.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var plugins = {
     "Device": require('cordova/plugin/bada/device'),
     "NetworkStatus": require('cordova/plugin/bada/NetworkStatus'),

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/platform.js
----------------------------------------------------------------------
diff --git a/lib/bada/platform.js b/lib/bada/platform.js
index c07faec..0bbe0e2 100644
--- a/lib/bada/platform.js
+++ b/lib/bada/platform.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 module.exports = {
     id: "bada",
     initialize: function() {},

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/Accelerometer.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Accelerometer.js b/lib/bada/plugin/bada/Accelerometer.js
index 3ab806e..f2d91e6 100644
--- a/lib/bada/plugin/bada/Accelerometer.js
+++ b/lib/bada/plugin/bada/Accelerometer.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var Acceleration = require('cordova/plugin/Acceleration');
 
 module.exports = {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/Camera.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Camera.js b/lib/bada/plugin/bada/Camera.js
index 6722222..dee1894 100644
--- a/lib/bada/plugin/bada/Camera.js
+++ b/lib/bada/plugin/bada/Camera.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 module.exports = {
     _mainCamera: null,
     _cams: [],

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/Capture.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Capture.js b/lib/bada/plugin/bada/Capture.js
index 1e56fcc..1b87e64 100644
--- a/lib/bada/plugin/bada/Capture.js
+++ b/lib/bada/plugin/bada/Capture.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 module.exports = {
     startVideoCapture: function(success, fail, options) {
         var camera = navigator.camera._mainCamera;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/Compass.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Compass.js b/lib/bada/plugin/bada/Compass.js
index ba8b983..43a6c97 100644
--- a/lib/bada/plugin/bada/Compass.js
+++ b/lib/bada/plugin/bada/Compass.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var CompassHeading = require('cordova/plugin/CompassHeading');
 
 module.exports = {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/Contacts.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Contacts.js b/lib/bada/plugin/bada/Contacts.js
index c6a21b4..16e5286 100644
--- a/lib/bada/plugin/bada/Contacts.js
+++ b/lib/bada/plugin/bada/Contacts.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var allowedAddressTypes = ["WORK", "HOME", "PREF"];
 
 var allowedPhoneNumberTypes = ["WORK", "PREF", "HOME", "VOICE", "FAX", "MSG", "CELL", "PAGER","BBS", "MODEM", "CAR", "ISDN","VIDEO", "PCS"];

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/NetworkStatus.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/NetworkStatus.js b/lib/bada/plugin/bada/NetworkStatus.js
index b6f0c95..61025f3 100644
--- a/lib/bada/plugin/bada/NetworkStatus.js
+++ b/lib/bada/plugin/bada/NetworkStatus.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var channel = require('cordova/channel'),
     Connection = require("cordova/plugin/Connection");
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/Notification.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Notification.js b/lib/bada/plugin/bada/Notification.js
index 06dbe31..1985eee 100644
--- a/lib/bada/plugin/bada/Notification.js
+++ b/lib/bada/plugin/bada/Notification.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 module.exports = {
     alert: function(message, alertCallback, title, buttonName) {
         alert(message);

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/bada/plugin/bada/device.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/device.js b/lib/bada/plugin/bada/device.js
index b1c8ad8..3d34166 100644
--- a/lib/bada/plugin/bada/device.js
+++ b/lib/bada/plugin/bada/device.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var channel = require('cordova/channel'),
     utils = require('cordova/utils');
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/builder.js
----------------------------------------------------------------------
diff --git a/lib/common/builder.js b/lib/common/builder.js
index 872ee5e..76386f0 100644
--- a/lib/common/builder.js
+++ b/lib/common/builder.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var utils = require('cordova/utils');
 
 function each(objects, func, context) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/channel.js
----------------------------------------------------------------------
diff --git a/lib/common/channel.js b/lib/common/channel.js
old mode 100755
new mode 100644
index e68b9cf..4990d6d
--- a/lib/common/channel.js
+++ b/lib/common/channel.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var utils = require('cordova/utils'),
     nextGuid = 1;
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/common.js
----------------------------------------------------------------------
diff --git a/lib/common/common.js b/lib/common/common.js
index 80d5604..7aa837e 100644
--- a/lib/common/common.js
+++ b/lib/common/common.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 module.exports = {
     objects: {
         cordova: {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/exec.js
----------------------------------------------------------------------
diff --git a/lib/common/exec.js b/lib/common/exec.js
index 68d8e46..8cef3c6 100644
--- a/lib/common/exec.js
+++ b/lib/common/exec.js
@@ -1 +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.
+ *
+*/
+
 throw new Error('should have been replaced at build time with platform implementation');

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/platform.js
----------------------------------------------------------------------
diff --git a/lib/common/platform.js b/lib/common/platform.js
index 68d8e46..8cef3c6 100644
--- a/lib/common/platform.js
+++ b/lib/common/platform.js
@@ -1 +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.
+ *
+*/
+
 throw new Error('should have been replaced at build time with platform implementation');

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Acceleration.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/Acceleration.js b/lib/common/plugin/Acceleration.js
index 93c7a19..d1669b5 100644
--- a/lib/common/plugin/Acceleration.js
+++ b/lib/common/plugin/Acceleration.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var Acceleration = function(x, y, z, timestamp) {
     this.x = x;
     this.y = y;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Camera.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/Camera.js b/lib/common/plugin/Camera.js
index 6729868..6388723 100644
--- a/lib/common/plugin/Camera.js
+++ b/lib/common/plugin/Camera.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var exec = require('cordova/exec'),
     Camera = require('cordova/plugin/CameraConstants');
 
@@ -113,4 +134,4 @@ cameraExport.cleanup = function(successCallback, errorCallback) {
     exec(successCallback, errorCallback, "Camera", "cleanup", []);
 };
 
-module.exports = cameraExport;
\ No newline at end of file
+module.exports = cameraExport;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CameraConstants.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CameraConstants.js b/lib/common/plugin/CameraConstants.js
index 5fa31dd..4b6cdda 100644
--- a/lib/common/plugin/CameraConstants.js
+++ b/lib/common/plugin/CameraConstants.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 module.exports = {
   DestinationType:{
     DATA_URL: 0,         // Return base64 encoded string
@@ -24,4 +45,4 @@ module.exports = {
       ARROW_RIGHT : 8,
       ARROW_ANY : 15
   }
-};
\ No newline at end of file
+};

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CameraPopoverOptions.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CameraPopoverOptions.js b/lib/common/plugin/CameraPopoverOptions.js
index a74b36b..8e16f0f 100644
--- a/lib/common/plugin/CameraPopoverOptions.js
+++ b/lib/common/plugin/CameraPopoverOptions.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var Camera = require('cordova/plugin/CameraConstants');
 
 /**
@@ -13,4 +34,4 @@ var CameraPopoverOptions = function(x,y,width,height,arrowDir){
     this.arrowDir = arrowDir || Camera.PopoverArrowDirection.ARROW_ANY;
 };
 
-module.exports = CameraPopoverOptions;
\ No newline at end of file
+module.exports = CameraPopoverOptions;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CaptureAudioOptions.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CaptureAudioOptions.js b/lib/common/plugin/CaptureAudioOptions.js
index 5c45eb5..67deaef 100644
--- a/lib/common/plugin/CaptureAudioOptions.js
+++ b/lib/common/plugin/CaptureAudioOptions.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * Encapsulates all audio capture operation configuration options.
  */
@@ -10,4 +31,4 @@ var CaptureAudioOptions = function(){
     this.mode = null;
 };
 
-module.exports = CaptureAudioOptions;
\ No newline at end of file
+module.exports = CaptureAudioOptions;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CaptureError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CaptureError.js b/lib/common/plugin/CaptureError.js
index 7055a6f..6fb7a47 100644
--- a/lib/common/plugin/CaptureError.js
+++ b/lib/common/plugin/CaptureError.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * The CaptureError interface encapsulates all errors in the Capture API.
  */
@@ -16,4 +37,4 @@ CaptureError.CAPTURE_NO_MEDIA_FILES = 3;
 // The requested capture operation is not supported.
 CaptureError.CAPTURE_NOT_SUPPORTED = 20;
 
-module.exports = CaptureError;
\ No newline at end of file
+module.exports = CaptureError;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CaptureImageOptions.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CaptureImageOptions.js b/lib/common/plugin/CaptureImageOptions.js
index 244a1d1..703dcd5 100644
--- a/lib/common/plugin/CaptureImageOptions.js
+++ b/lib/common/plugin/CaptureImageOptions.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * Encapsulates all image capture operation configuration options.
  */
@@ -8,4 +29,4 @@ var CaptureImageOptions = function(){
     this.mode = null;
 };
 
-module.exports = CaptureImageOptions;
\ No newline at end of file
+module.exports = CaptureImageOptions;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CaptureVideoOptions.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CaptureVideoOptions.js b/lib/common/plugin/CaptureVideoOptions.js
index 50c66c1..aaf87c6 100644
--- a/lib/common/plugin/CaptureVideoOptions.js
+++ b/lib/common/plugin/CaptureVideoOptions.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * Encapsulates all video capture operation configuration options.
  */
@@ -10,4 +31,4 @@ var CaptureVideoOptions = function(){
     this.mode = null;
 };
 
-module.exports = CaptureVideoOptions;
\ No newline at end of file
+module.exports = CaptureVideoOptions;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CompassError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CompassError.js b/lib/common/plugin/CompassError.js
index 61f4182..9d6b7a5 100644
--- a/lib/common/plugin/CompassError.js
+++ b/lib/common/plugin/CompassError.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  *  CompassError.
  *  An error code assigned by an implementation when an error has occured
@@ -10,4 +31,4 @@ var CompassError = function(err) {
 CompassError.COMPASS_INTERNAL_ERR = 0;
 CompassError.COMPASS_NOT_SUPPORTED = 20;
 
-module.exports = CompassError;
\ No newline at end of file
+module.exports = CompassError;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/CompassHeading.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CompassHeading.js b/lib/common/plugin/CompassHeading.js
index 16d60f6..61e663d 100644
--- a/lib/common/plugin/CompassHeading.js
+++ b/lib/common/plugin/CompassHeading.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var CompassHeading = function(magneticHeading, trueHeading, headingAccuracy, timestamp) {
   this.magneticHeading = (magneticHeading !== undefined ? magneticHeading : null);
   this.trueHeading = (trueHeading !== undefined ? trueHeading : null);
@@ -5,4 +26,4 @@ var CompassHeading = function(magneticHeading, trueHeading, headingAccuracy, tim
   this.timestamp = (timestamp !== undefined ? timestamp : new Date().getTime());
 };
 
-module.exports = CompassHeading;
\ No newline at end of file
+module.exports = CompassHeading;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ConfigurationData.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ConfigurationData.js b/lib/common/plugin/ConfigurationData.js
index 7c53f1f..57cfbf5 100644
--- a/lib/common/plugin/ConfigurationData.js
+++ b/lib/common/plugin/ConfigurationData.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * Encapsulates a set of parameters that the capture device supports.
  */
@@ -12,4 +33,4 @@ function ConfigurationData() {
     this.width = 0;
 }
 
-module.exports = ConfigurationData;
\ No newline at end of file
+module.exports = ConfigurationData;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Connection.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/Connection.js b/lib/common/plugin/Connection.js
index 5bb30f2..27ce5b9 100644
--- a/lib/common/plugin/Connection.js
+++ b/lib/common/plugin/Connection.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * Network status
  */
@@ -9,4 +30,4 @@ module.exports = {
         CELL_3G: "3g",
         CELL_4G: "4g",
         NONE: "none"
-};
\ No newline at end of file
+};

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Contact.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/Contact.js b/lib/common/plugin/Contact.js
index 6aa51d9..1bd4078 100644
--- a/lib/common/plugin/Contact.js
+++ b/lib/common/plugin/Contact.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var exec = require('cordova/exec'),
     ContactError = require('cordova/plugin/ContactError'),
     utils = require('cordova/utils');

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ContactAddress.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ContactAddress.js b/lib/common/plugin/ContactAddress.js
index d3bd81c..3d39086 100644
--- a/lib/common/plugin/ContactAddress.js
+++ b/lib/common/plugin/ContactAddress.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
 * Contact address.
 * @constructor
@@ -22,4 +43,4 @@ var ContactAddress = function(pref, type, formatted, streetAddress, locality, re
     this.country = country || null;
 };
 
-module.exports = ContactAddress;
\ No newline at end of file
+module.exports = ContactAddress;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ContactError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ContactError.js b/lib/common/plugin/ContactError.js
index 8412af1..fcad4ab 100644
--- a/lib/common/plugin/ContactError.js
+++ b/lib/common/plugin/ContactError.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  *  ContactError.
  *  An error code assigned by an implementation when an error has occured
@@ -18,4 +39,4 @@ ContactError.IO_ERROR = 4;
 ContactError.NOT_SUPPORTED_ERROR = 5;
 ContactError.PERMISSION_DENIED_ERROR = 20;
 
-module.exports = ContactError;
\ No newline at end of file
+module.exports = ContactError;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ContactField.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ContactField.js b/lib/common/plugin/ContactField.js
index 8b6f375..e84107a 100644
--- a/lib/common/plugin/ContactField.js
+++ b/lib/common/plugin/ContactField.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
 * Generic contact field.
 * @constructor
@@ -13,4 +34,4 @@ var ContactField = function(type, value, pref) {
     this.pref = (typeof pref != 'undefined' ? pref : false);
 };
 
-module.exports = ContactField;
\ No newline at end of file
+module.exports = ContactField;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ContactFindOptions.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ContactFindOptions.js b/lib/common/plugin/ContactFindOptions.js
index 5d6c51c..bd8bf35 100644
--- a/lib/common/plugin/ContactFindOptions.js
+++ b/lib/common/plugin/ContactFindOptions.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * ContactFindOptions.
  * @constructor
@@ -10,4 +31,4 @@ var ContactFindOptions = function(filter, multiple) {
     this.multiple = (typeof multiple != 'undefined' ? multiple : false);
 };
 
-module.exports = ContactFindOptions;
\ No newline at end of file
+module.exports = ContactFindOptions;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ContactName.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ContactName.js b/lib/common/plugin/ContactName.js
index 49ed391..15cf60b 100644
--- a/lib/common/plugin/ContactName.js
+++ b/lib/common/plugin/ContactName.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
 * Contact name.
 * @constructor
@@ -17,4 +38,4 @@ var ContactName = function(formatted, familyName, givenName, middle, prefix, suf
     this.honorificSuffix = suffix || null;
 };
 
-module.exports = ContactName;
\ No newline at end of file
+module.exports = ContactName;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ContactOrganization.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ContactOrganization.js b/lib/common/plugin/ContactOrganization.js
index f80010a..5dd242b 100644
--- a/lib/common/plugin/ContactOrganization.js
+++ b/lib/common/plugin/ContactOrganization.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
 * Contact organization.
 * @constructor
@@ -20,4 +41,4 @@ var ContactOrganization = function(pref, type, name, dept, title) {
     this.title = title || null;
 };
 
-module.exports = ContactOrganization;
\ No newline at end of file
+module.exports = ContactOrganization;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Coordinates.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/Coordinates.js b/lib/common/plugin/Coordinates.js
index cdcf187..84fdd5b 100644
--- a/lib/common/plugin/Coordinates.js
+++ b/lib/common/plugin/Coordinates.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * This class contains position information.
  * @param {Object} lat

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/DirectoryEntry.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/DirectoryEntry.js b/lib/common/plugin/DirectoryEntry.js
index cb82237..c87fa4a 100644
--- a/lib/common/plugin/DirectoryEntry.js
+++ b/lib/common/plugin/DirectoryEntry.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var utils = require('cordova/utils'),
     exec = require('cordova/exec'),
     Entry = require('cordova/plugin/Entry'),

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/DirectoryReader.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/DirectoryReader.js b/lib/common/plugin/DirectoryReader.js
index 4db0600..2883b56 100644
--- a/lib/common/plugin/DirectoryReader.js
+++ b/lib/common/plugin/DirectoryReader.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var exec = require('cordova/exec'),
     FileError = require('cordova/plugin/FileError') ;
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Entry.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/Entry.js b/lib/common/plugin/Entry.js
index d0e4aba..1b141a1 100644
--- a/lib/common/plugin/Entry.js
+++ b/lib/common/plugin/Entry.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var exec = require('cordova/exec'),
     FileError = require('cordova/plugin/FileError'),
     Metadata = require('cordova/plugin/Metadata');
@@ -215,4 +236,4 @@ Entry.prototype.getParent = function(successCallback, errorCallback) {
     exec(win, fail, "File", "getParent", [this.fullPath]);
 };
 
-module.exports = Entry;
\ No newline at end of file
+module.exports = Entry;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/File.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/File.js b/lib/common/plugin/File.js
index 1f2a9b6..7a3ff3e 100644
--- a/lib/common/plugin/File.js
+++ b/lib/common/plugin/File.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * Constructor.
  * name {DOMString} name of the file, without path information
@@ -15,4 +36,4 @@ var File = function(name, fullPath, type, lastModifiedDate, size){
     this.size = size || 0;
 };
 
-module.exports = File;
\ No newline at end of file
+module.exports = File;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileEntry.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/FileEntry.js b/lib/common/plugin/FileEntry.js
index fb6cfaa..ff1d9a9 100644
--- a/lib/common/plugin/FileEntry.js
+++ b/lib/common/plugin/FileEntry.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var utils = require('cordova/utils'),
     exec = require('cordova/exec'),
     Entry = require('cordova/plugin/Entry'),
@@ -60,4 +81,4 @@ FileEntry.prototype.file = function(successCallback, errorCallback) {
 };
 
 
-module.exports = FileEntry;
\ No newline at end of file
+module.exports = FileEntry;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/FileError.js b/lib/common/plugin/FileError.js
index 7f538fe..6507921 100644
--- a/lib/common/plugin/FileError.js
+++ b/lib/common/plugin/FileError.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 /**
  * FileError
  */
@@ -22,4 +43,4 @@ FileError.QUOTA_EXCEEDED_ERR = 10;
 FileError.TYPE_MISMATCH_ERR = 11;
 FileError.PATH_EXISTS_ERR = 12;
 
-module.exports = FileError;
\ No newline at end of file
+module.exports = FileError;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileReader.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/FileReader.js b/lib/common/plugin/FileReader.js
index b740635..41e0e97 100644
--- a/lib/common/plugin/FileReader.js
+++ b/lib/common/plugin/FileReader.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var exec = require('cordova/exec'),
     FileError = require('cordova/plugin/FileError'),
     ProgressEvent = require('cordova/plugin/ProgressEvent');
@@ -246,4 +267,4 @@ FileReader.prototype.readAsArrayBuffer = function(file) {
     console.log('This method is not supported at this time.');
 };
 
-module.exports = FileReader;
\ No newline at end of file
+module.exports = FileReader;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileSystem.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/FileSystem.js b/lib/common/plugin/FileSystem.js
index 53636b5..5e8314e 100644
--- a/lib/common/plugin/FileSystem.js
+++ b/lib/common/plugin/FileSystem.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
 var DirectoryEntry = require('cordova/plugin/DirectoryEntry');
 
 /**


Mime
View raw message