incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [2/2] js commit: added apache headers to all webos js files
Date Thu, 18 Oct 2012 22:52:51 GMT
added apache headers to all webos js files


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/bdfe428d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/bdfe428d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/bdfe428d

Branch: refs/heads/master
Commit: bdfe428d5c1330195ddb20107acb7e93149f2c5e
Parents: 6f2ac07
Author: hermwong <herm.wong@gmail.com>
Authored: Thu Oct 18 15:12:42 2012 -0700
Committer: hermwong <herm.wong@gmail.com>
Committed: Thu Oct 18 15:34:47 2012 -0700

----------------------------------------------------------------------
 lib/webos/exec.js                           |   21 +++++++++++++++++++++
 lib/webos/platform.js                       |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/accelerometer.js     |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/application.js       |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/camera.js            |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/compass.js           |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/device.js            |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/file.js              |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/filereader.js        |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/geolocation.js       |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/keyboard.js          |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/network.js           |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/notification.js      |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/orientation.js       |   21 +++++++++++++++++++++
 lib/webos/plugin/webos/requestfilesystem.js |   20 ++++++++++++++++++++
 lib/webos/plugin/webos/window.js            |   21 +++++++++++++++++++++
 16 files changed, 335 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/exec.js
----------------------------------------------------------------------
diff --git a/lib/webos/exec.js b/lib/webos/exec.js
index e481748..c069e76 100644
--- a/lib/webos/exec.js
+++ b/lib/webos/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/bdfe428d/lib/webos/platform.js
----------------------------------------------------------------------
diff --git a/lib/webos/platform.js b/lib/webos/platform.js
index b60096d..1ef9ffd 100644
--- a/lib/webos/platform.js
+++ b/lib/webos/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: "webos",
     initialize: function() {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/accelerometer.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/accelerometer.js b/lib/webos/plugin/webos/accelerometer.js
index afb4cef..c4d6d91 100644
--- a/lib/webos/plugin/webos/accelerometer.js
+++ b/lib/webos/plugin/webos/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 callback;
 module.exports={
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/application.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/application.js b/lib/webos/plugin/webos/application.js
index 8414587..104bbc3 100644
--- a/lib/webos/plugin/webos/application.js
+++ b/lib/webos/plugin/webos/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.
+ *
+*/
+
 module.exports={
 
 isActivated: function(inWindow) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/camera.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/camera.js b/lib/webos/plugin/webos/camera.js
index 6171133..326e5a5 100644
--- a/lib/webos/plugin/webos/camera.js
+++ b/lib/webos/plugin/webos/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 service=require('cordova/plugin/webos/service');
 
 module.exports = {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/compass.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/compass.js b/lib/webos/plugin/webos/compass.js
index f98c279..f590325 100644
--- a/lib/webos/plugin/webos/compass.js
+++ b/lib/webos/plugin/webos/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'),
 CompassError = require('cordova/plugin/CompassError');
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/device.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/device.js b/lib/webos/plugin/webos/device.js
index b0e3c28..6a60393 100644
--- a/lib/webos/plugin/webos/device.js
+++ b/lib/webos/plugin/webos/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 service=require('cordova/plugin/webos/service')
 
 module.exports={

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/file.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/file.js b/lib/webos/plugin/webos/file.js
index 7ac22cc..7a3ff3e 100644
--- a/lib/webos/plugin/webos/file.js
+++ b/lib/webos/plugin/webos/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

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/filereader.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/filereader.js b/lib/webos/plugin/webos/filereader.js
index d493f92..238ffc8 100644
--- a/lib/webos/plugin/webos/filereader.js
+++ b/lib/webos/plugin/webos/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 FileError = require('cordova/plugin/FileError'),
     ProgressEvent = require('cordova/plugin/ProgressEvent');
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/geolocation.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/geolocation.js b/lib/webos/plugin/webos/geolocation.js
index 9973848..cb03d4b 100644
--- a/lib/webos/plugin/webos/geolocation.js
+++ b/lib/webos/plugin/webos/geolocation.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 service=require('cordova/plugin/webos/service');
 
 module.exports = {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/keyboard.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/keyboard.js b/lib/webos/plugin/webos/keyboard.js
index 467e027..64377d8 100644
--- a/lib/webos/plugin/webos/keyboard.js
+++ b/lib/webos/plugin/webos/keyboard.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={
 
 types: {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/network.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/network.js b/lib/webos/plugin/webos/network.js
index 8526d75..5267c4d 100644
--- a/lib/webos/plugin/webos/network.js
+++ b/lib/webos/plugin/webos/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.
+ *
+*/
+
 var service=require('cordova/plugin/webos/service')
 
 module.exports = {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/notification.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/notification.js b/lib/webos/plugin/webos/notification.js
index 5264aa1..9d74dfd 100644
--- a/lib/webos/plugin/webos/notification.js
+++ b/lib/webos/plugin/webos/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={
 /*
  * adds a dashboard to the WebOS app

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/orientation.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/orientation.js b/lib/webos/plugin/webos/orientation.js
index 58a0d64..0213186 100644
--- a/lib/webos/plugin/webos/orientation.js
+++ b/lib/webos/plugin/webos/orientation.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={
 
 setOrientation: function(orientation) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/requestfilesystem.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/requestfilesystem.js b/lib/webos/plugin/webos/requestfilesystem.js
index 6effbd8..43b03cc 100644
--- a/lib/webos/plugin/webos/requestfilesystem.js
+++ b/lib/webos/plugin/webos/requestfilesystem.js
@@ -1,3 +1,23 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 var requestFileSystem=function(type,size,successCallback,errorCallback) {
     console.error("requestFileSystem");
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/bdfe428d/lib/webos/plugin/webos/window.js
----------------------------------------------------------------------
diff --git a/lib/webos/plugin/webos/window.js b/lib/webos/plugin/webos/window.js
index d099c99..1215ce1 100644
--- a/lib/webos/plugin/webos/window.js
+++ b/lib/webos/plugin/webos/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.
+ *
+*/
+
 module.exports={
 
 launchParams: function() {


Mime
View raw message