You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2012/05/26 00:12:41 UTC
[1/2] webos commit: added Apache license header
Updated Branches:
refs/heads/master 09736633c -> 99e2eb85f
added Apache license header
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/commit/99e2eb85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/tree/99e2eb85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/diff/99e2eb85
Branch: refs/heads/master
Commit: 99e2eb85f59c1b9df71e0db4e078624576a743a7
Parents: 1a4db14
Author: hermwong <he...@gmail.com>
Authored: Fri May 25 15:08:48 2012 -0700
Committer: hermwong <he...@gmail.com>
Committed: Fri May 25 15:08:48 2012 -0700
----------------------------------------------------------------------
framework/dashboard.html | 21 +++++++++++++++++++++
framework/index.html | 21 +++++++++++++++++++++
framework/menu.css | 21 +++++++++++++++++++++
js/acceleration.js | 21 +++++++++++++++++++++
js/accelerometer.js | 21 +++++++++++++++++++++
js/application.js | 21 +++++++++++++++++++++
js/audio.js | 21 +++++++++++++++++++++
js/camera.js | 21 +++++++++++++++++++++
js/compass.js | 21 +++++++++++++++++++++
js/contacts.js | 21 +++++++++++++++++++++
js/cordova-core.js | 21 +++++++++++++++++++++
js/debugconsole.js | 21 +++++++++++++++++++++
js/device.js | 21 +++++++++++++++++++++
js/file.js | 21 +++++++++++++++++++++
js/geolocation.js | 21 +++++++++++++++++++++
js/map.js | 21 +++++++++++++++++++++
js/mojo.js | 23 ++++++++++++++++++++++-
js/mouse.js | 21 +++++++++++++++++++++
js/network.js | 21 +++++++++++++++++++++
js/notification.js | 21 +++++++++++++++++++++
js/orientation.js | 21 +++++++++++++++++++++
js/position.js | 21 +++++++++++++++++++++
js/service.js | 21 +++++++++++++++++++++
js/sms.js | 21 +++++++++++++++++++++
js/telephony.js | 21 +++++++++++++++++++++
js/window.js | 21 +++++++++++++++++++++
js/windowproperties.js | 23 ++++++++++++++++++++++-
27 files changed, 569 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/framework/dashboard.html
----------------------------------------------------------------------
diff --git a/framework/dashboard.html b/framework/dashboard.html
index 5ae26d0..7618cf3 100644
--- a/framework/dashboard.html
+++ b/framework/dashboard.html
@@ -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.
+
+-->
+
<!DOCTYPE html>
<!--
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/framework/index.html
----------------------------------------------------------------------
diff --git a/framework/index.html b/framework/index.html
index 7390ace..334088b 100644
--- a/framework/index.html
+++ b/framework/index.html
@@ -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.
+
+-->
+
<!DOCTYPE html>
<!--
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/framework/menu.css
----------------------------------------------------------------------
diff --git a/framework/menu.css b/framework/menu.css
index ad878b5..664184f 100644
--- a/framework/menu.css
+++ b/framework/menu.css
@@ -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.
+ *
+*/
+
#menu {
display: none;
width: 80%;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/acceleration.js
----------------------------------------------------------------------
diff --git a/js/acceleration.js b/js/acceleration.js
old mode 100755
new mode 100644
index 643e1c0..ce58b4c
--- a/js/acceleration.js
+++ b/js/acceleration.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 acceleration information
* @constructor
* @param {Number} x The force applied by the device in the x-axis.
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/accelerometer.js
----------------------------------------------------------------------
diff --git a/js/accelerometer.js b/js/accelerometer.js
old mode 100755
new mode 100644
index d81cad9..670720c
--- a/js/accelerometer.js
+++ b/js/accelerometer.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to device accelerometer data.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/application.js
----------------------------------------------------------------------
diff --git a/js/application.js b/js/application.js
index 36e8fdb..d432eca 100644
--- a/js/application.js
+++ b/js/application.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.
+ *
+*/
+
function Application() {
};
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/audio.js
----------------------------------------------------------------------
diff --git a/js/audio.js b/js/audio.js
old mode 100755
new mode 100644
index 8480d45..1285e92
--- a/js/audio.js
+++ b/js/audio.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to the device audio
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/camera.js
----------------------------------------------------------------------
diff --git a/js/camera.js b/js/camera.js
old mode 100755
new mode 100644
index 2d674e2..0c80146
--- a/js/camera.js
+++ b/js/camera.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to the device camera.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/compass.js
----------------------------------------------------------------------
diff --git a/js/compass.js b/js/compass.js
index 355aabc..d79a4aa 100644
--- a/js/compass.js
+++ b/js/compass.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to device compass data.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/contacts.js
----------------------------------------------------------------------
diff --git a/js/contacts.js b/js/contacts.js
old mode 100755
new mode 100644
index a96b492..3a11064
--- a/js/contacts.js
+++ b/js/contacts.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to the device contacts.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/cordova-core.js
----------------------------------------------------------------------
diff --git a/js/cordova-core.js b/js/cordova-core.js
index 3cc3e1c..1120792 100644
--- a/js/cordova-core.js
+++ b/js/cordova-core.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.
+ *
+*/
+
if (typeof(DeviceInfo) != 'object')
DeviceInfo = {};
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/debugconsole.js
----------------------------------------------------------------------
diff --git a/js/debugconsole.js b/js/debugconsole.js
old mode 100755
new mode 100644
index 89d585b..23dd8fe
--- a/js/debugconsole.js
+++ b/js/debugconsole.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to the debugging console.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/device.js
----------------------------------------------------------------------
diff --git a/js/device.js b/js/device.js
old mode 100755
new mode 100644
index 6808afd..9fa543a
--- a/js/device.js
+++ b/js/device.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 represents the mobile device, and provides properties for inspecting the model, version, UUID of the
* phone, etc.
* @constructor
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/file.js
----------------------------------------------------------------------
diff --git a/js/file.js b/js/file.js
old mode 100755
new mode 100644
index c749ee5..e585e38
--- a/js/file.js
+++ b/js/file.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides generic read and write access to the mobile device file system.
*/
function File() {
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/geolocation.js
----------------------------------------------------------------------
diff --git a/js/geolocation.js b/js/geolocation.js
old mode 100755
new mode 100644
index 9f74df3..519b987
--- a/js/geolocation.js
+++ b/js/geolocation.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to device GPS data.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/map.js
----------------------------------------------------------------------
diff --git a/js/map.js b/js/map.js
old mode 100755
new mode 100644
index 1e60b13..8b19644
--- a/js/map.js
+++ b/js/map.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to native mapping applications on the device.
*/
function Map() {
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/mojo.js
----------------------------------------------------------------------
diff --git a/js/mojo.js b/js/mojo.js
index 7e96202..1c7949f 100644
--- a/js/mojo.js
+++ b/js/mojo.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.
+ *
+*/
+
//===========================
// Mojo Dependencies - we still need to rely on these minimal parts of the Mojo framework - should try to find if we can get access to lower level APIs
// so that we can remove dependence of Mojo
@@ -57,4 +78,4 @@ Mojo = {
Service: {},
Log: {}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/mouse.js
----------------------------------------------------------------------
diff --git a/js/mouse.js b/js/mouse.js
index d74c8c2..b002500 100644
--- a/js/mouse.js
+++ b/js/mouse.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.
+ *
+*/
+
function Mouse() {
};
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/network.js
----------------------------------------------------------------------
diff --git a/js/network.js b/js/network.js
old mode 100755
new mode 100644
index 806ed3f..12fc57a
--- a/js/network.js
+++ b/js/network.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.
+ *
+*/
+
function Network() {
/*
* The last known Network status.
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/notification.js
----------------------------------------------------------------------
diff --git a/js/notification.js b/js/notification.js
old mode 100755
new mode 100644
index 4d47e2b..9a3b559
--- a/js/notification.js
+++ b/js/notification.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to notifications on the device.
*/
function Notification() {
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/orientation.js
----------------------------------------------------------------------
diff --git a/js/orientation.js b/js/orientation.js
old mode 100755
new mode 100644
index 892fc3f..c45ba65
--- a/js/orientation.js
+++ b/js/orientation.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to the device orientation.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/position.js
----------------------------------------------------------------------
diff --git a/js/position.js b/js/position.js
old mode 100755
new mode 100644
index cf59392..5954730
--- a/js/position.js
+++ b/js/position.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.
+ *
+*/
+
function Position(coords) {
this.coords = coords;
this.timestamp = new Date().getTime();
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/service.js
----------------------------------------------------------------------
diff --git a/js/service.js b/js/service.js
index 29bd6ae..7a062fb 100644
--- a/js/service.js
+++ b/js/service.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.
+ *
+*/
+
function Service() {
};
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/sms.js
----------------------------------------------------------------------
diff --git a/js/sms.js b/js/sms.js
old mode 100755
new mode 100644
index 6865648..ba8adb3
--- a/js/sms.js
+++ b/js/sms.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to the device SMS functionality.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/telephony.js
----------------------------------------------------------------------
diff --git a/js/telephony.js b/js/telephony.js
old mode 100755
new mode 100644
index b3b0e0c..7bda4ef
--- a/js/telephony.js
+++ b/js/telephony.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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 provides access to the telephony features of the device.
* @constructor
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/window.js
----------------------------------------------------------------------
diff --git a/js/window.js b/js/window.js
index ec57d23..ebdab41 100644
--- a/js/window.js
+++ b/js/window.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.
+ *
+*/
+
function Window() {
};
http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/99e2eb85/js/windowproperties.js
----------------------------------------------------------------------
diff --git a/js/windowproperties.js b/js/windowproperties.js
index 2bb95ba..2b749f5 100644
--- a/js/windowproperties.js
+++ b/js/windowproperties.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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.
+ *
+*/
+
+/*
* Object for storing WebOS window properties
*/
function WindowProperties() {
@@ -7,4 +28,4 @@ function WindowProperties() {
fastAccelerometer = false;
};
-if (typeof navigator.windowProperties == 'undefined') navigator.windowProperties = new WindowProperties();
\ No newline at end of file
+if (typeof navigator.windowProperties == 'undefined') navigator.windowProperties = new WindowProperties();