Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14A2ADA59 for ; Mon, 17 Sep 2012 21:33:56 +0000 (UTC) Received: (qmail 72503 invoked by uid 500); 17 Sep 2012 21:33:55 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 72420 invoked by uid 500); 17 Sep 2012 21:33:55 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 72390 invoked by uid 99); 17 Sep 2012 21:33:55 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 21:33:55 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 864DD3732C; Mon, 17 Sep 2012 21:33:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: filmaj@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [2/4] [CB-1487] license header audit in js Message-Id: <20120917213355.864DD3732C@tyr.zones.apache.org> Date: Mon, 17 Sep 2012 21:33:55 +0000 (UTC) http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileTransfer.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/FileTransfer.js b/lib/common/plugin/FileTransfer.js index 38a44b6..2c076c8 100644 --- a/lib/common/plugin/FileTransfer.js +++ b/lib/common/plugin/FileTransfer.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'), FileTransferError = require('cordova/plugin/FileTransferError'); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileTransferError.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/FileTransferError.js b/lib/common/plugin/FileTransferError.js index 8e0c0fb..4b638fb 100644 --- a/lib/common/plugin/FileTransferError.js +++ b/lib/common/plugin/FileTransferError.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. + * +*/ + /** * FileTransferError * @constructor http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileUploadOptions.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/FileUploadOptions.js b/lib/common/plugin/FileUploadOptions.js index 23b198c..b004cf1 100644 --- a/lib/common/plugin/FileUploadOptions.js +++ b/lib/common/plugin/FileUploadOptions.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. + * +*/ + /** * Options to customize the HTTP request used to upload files. * @constructor http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileUploadResult.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/FileUploadResult.js b/lib/common/plugin/FileUploadResult.js index 46857ec..294995f 100644 --- a/lib/common/plugin/FileUploadResult.js +++ b/lib/common/plugin/FileUploadResult.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. + * +*/ + /** * FileUploadResult * @constructor @@ -8,4 +29,4 @@ var FileUploadResult = function() { this.response = null; }; -module.exports = FileUploadResult; \ No newline at end of file +module.exports = FileUploadResult; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/FileWriter.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/FileWriter.js b/lib/common/plugin/FileWriter.js index 35a7a48..9dbbd81 100644 --- a/lib/common/plugin/FileWriter.js +++ b/lib/common/plugin/FileWriter.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'); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Flags.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/Flags.js b/lib/common/plugin/Flags.js index 16fe1ab..a9ae6da 100644 --- a/lib/common/plugin/Flags.js +++ b/lib/common/plugin/Flags.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. + * +*/ + /** * Supplies arguments to methods that lookup or create files and directories. * @@ -12,4 +33,4 @@ function Flags(create, exclusive) { this.exclusive = exclusive || false; } -module.exports = Flags; \ No newline at end of file +module.exports = Flags; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/LocalFileSystem.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/LocalFileSystem.js b/lib/common/plugin/LocalFileSystem.js index 429c5b0..dae7683 100644 --- a/lib/common/plugin/LocalFileSystem.js +++ b/lib/common/plugin/LocalFileSystem.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'); /** @@ -10,4 +31,4 @@ var LocalFileSystem = function() { LocalFileSystem.TEMPORARY = 0; //temporary, with no guarantee of persistence LocalFileSystem.PERSISTENT = 1; //persistent -module.exports = LocalFileSystem; \ No newline at end of file +module.exports = LocalFileSystem; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Media.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/Media.js b/lib/common/plugin/Media.js index f83ab09..70072c8 100644 --- a/lib/common/plugin/Media.js +++ b/lib/common/plugin/Media.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'); @@ -188,4 +209,4 @@ Media.onStatus = function(id, msgType, value) { }; -module.exports = Media; \ No newline at end of file +module.exports = Media; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/MediaError.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/MediaError.js b/lib/common/plugin/MediaError.js index f746a21..e636f3d 100644 --- a/lib/common/plugin/MediaError.js +++ b/lib/common/plugin/MediaError.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 information about any Media errors. */ http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/MediaFile.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/MediaFile.js b/lib/common/plugin/MediaFile.js index a04967a..629c498 100644 --- a/lib/common/plugin/MediaFile.js +++ b/lib/common/plugin/MediaFile.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'), File = require('cordova/plugin/File'), http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/MediaFileData.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/MediaFileData.js b/lib/common/plugin/MediaFileData.js index b3e29ef..75e467b 100644 --- a/lib/common/plugin/MediaFileData.js +++ b/lib/common/plugin/MediaFileData.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. + * +*/ + /** * MediaFileData encapsulates format information of a media file. * @@ -15,4 +36,4 @@ var MediaFileData = function(codecs, bitrate, height, width, duration){ this.duration = duration || 0; }; -module.exports = MediaFileData; \ No newline at end of file +module.exports = MediaFileData; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Metadata.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/Metadata.js b/lib/common/plugin/Metadata.js index 1e882ad..bee26bd 100644 --- a/lib/common/plugin/Metadata.js +++ b/lib/common/plugin/Metadata.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. + * +*/ + /** * Information about the state of the file or directory * @@ -7,4 +28,4 @@ var Metadata = function(time) { this.modificationTime = (typeof time != 'undefined'?new Date(time):null); }; -module.exports = Metadata; \ No newline at end of file +module.exports = Metadata; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/Position.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/Position.js b/lib/common/plugin/Position.js index 3e150b6..0f21ba3 100644 --- a/lib/common/plugin/Position.js +++ b/lib/common/plugin/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. + * +*/ + var Coordinates = require('cordova/plugin/Coordinates'); var Position = function(coords, timestamp) { http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/PositionError.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/PositionError.js b/lib/common/plugin/PositionError.js index 6f4988d..9403f11 100644 --- a/lib/common/plugin/PositionError.js +++ b/lib/common/plugin/PositionError.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. + * +*/ + /** * Position error object * @@ -14,4 +35,4 @@ PositionError.PERMISSION_DENIED = 1; PositionError.POSITION_UNAVAILABLE = 2; PositionError.TIMEOUT = 3; -module.exports = PositionError; \ No newline at end of file +module.exports = PositionError; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/ProgressEvent.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/ProgressEvent.js b/lib/common/plugin/ProgressEvent.js index a5fc883..f176f80 100644 --- a/lib/common/plugin/ProgressEvent.js +++ b/lib/common/plugin/ProgressEvent.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 ProgressEvent exists in global context, use it already, otherwise use our own polyfill // Feature test: See if we can instantiate a native ProgressEvent; // if so, use that approach, @@ -43,4 +64,4 @@ var ProgressEvent = (function() { //} })(); -module.exports = ProgressEvent; \ No newline at end of file +module.exports = ProgressEvent; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/accelerometer.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/accelerometer.js b/lib/common/plugin/accelerometer.js index d935058..b279639 100644 --- a/lib/common/plugin/accelerometer.js +++ b/lib/common/plugin/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. + * +*/ + /** * This class provides access to device accelerometer data. * @constructor http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/battery.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/battery.js b/lib/common/plugin/battery.js index fa929a9..9236d84 100644 --- a/lib/common/plugin/battery.js +++ b/lib/common/plugin/battery.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 information about the current battery status. * @constructor @@ -84,4 +105,4 @@ Battery.prototype._error = function(e) { var battery = new Battery(); -module.exports = battery; \ No newline at end of file +module.exports = battery; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/capture.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/capture.js b/lib/common/plugin/capture.js index d1d5d3a..bf59f4a 100644 --- a/lib/common/plugin/capture.js +++ b/lib/common/plugin/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. + * +*/ + var exec = require('cordova/exec'), MediaFile = require('cordova/plugin/MediaFile'); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/compass.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/compass.js b/lib/common/plugin/compass.js index ce615f9..c97c158 100644 --- a/lib/common/plugin/compass.js +++ b/lib/common/plugin/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 exec = require('cordova/exec'), utils = require('cordova/utils'), CompassHeading = require('cordova/plugin/CompassHeading'), @@ -98,4 +119,4 @@ var exec = require('cordova/exec'), } }; -module.exports = compass; \ No newline at end of file +module.exports = compass; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/console-via-logger.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/console-via-logger.js b/lib/common/plugin/console-via-logger.js index 81d95f2..8088d8a 100644 --- a/lib/common/plugin/console-via-logger.js +++ b/lib/common/plugin/console-via-logger.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 logger = require("cordova/plugin/logger"); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/contacts.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/contacts.js b/lib/common/plugin/contacts.js index 01b8f15..2f5a51a 100644 --- a/lib/common/plugin/contacts.js +++ b/lib/common/plugin/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 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/device.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/device.js b/lib/common/plugin/device.js index 7f10c03..3477ff8 100644 --- a/lib/common/plugin/device.js +++ b/lib/common/plugin/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/common/plugin/echo.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/echo.js b/lib/common/plugin/echo.js index 63b8201..ce582ab 100644 --- a/lib/common/plugin/echo.js +++ b/lib/common/plugin/echo.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'); /** http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/geolocation.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/geolocation.js b/lib/common/plugin/geolocation.js index f6e3221..0495701 100644 --- a/lib/common/plugin/geolocation.js +++ b/lib/common/plugin/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 utils = require('cordova/utils'), exec = require('cordova/exec'), PositionError = require('cordova/plugin/PositionError'), http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/logger.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/logger.js b/lib/common/plugin/logger.js index e16ba39..79561e8 100644 --- a/lib/common/plugin/logger.js +++ b/lib/common/plugin/logger.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 logger module exports the following properties/functions: // http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/network.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/network.js b/lib/common/plugin/network.js index 2bfff2d..75ac38a 100644 --- a/lib/common/plugin/network.js +++ b/lib/common/plugin/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 exec = require('cordova/exec'), cordova = require('cordova'), channel = require('cordova/channel'); @@ -57,4 +78,4 @@ NetworkConnection.prototype.getInfo = function (successCallback, errorCallback) exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", []); }; -module.exports = new NetworkConnection(); \ No newline at end of file +module.exports = new NetworkConnection(); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/notification.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/notification.js b/lib/common/plugin/notification.js index 7618ea6..fbf9046 100644 --- a/lib/common/plugin/notification.js +++ b/lib/common/plugin/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'); /** @@ -53,4 +74,4 @@ module.exports = { beep: function(count) { exec(null, null, "Notification", "beep", [count]); } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/requestFileSystem.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/requestFileSystem.js b/lib/common/plugin/requestFileSystem.js index 053ed5e..b0f5fa2 100644 --- a/lib/common/plugin/requestFileSystem.js +++ b/lib/common/plugin/requestFileSystem.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'), FileSystem = require('cordova/plugin/FileSystem'), exec = require('cordova/exec'); @@ -37,4 +58,4 @@ var requestFileSystem = function(type, size, successCallback, errorCallback) { } }; -module.exports = requestFileSystem; \ No newline at end of file +module.exports = requestFileSystem; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/resolveLocalFileSystemURI.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/resolveLocalFileSystemURI.js b/lib/common/plugin/resolveLocalFileSystemURI.js index 68981df..c83b0aa 100644 --- a/lib/common/plugin/resolveLocalFileSystemURI.js +++ b/lib/common/plugin/resolveLocalFileSystemURI.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'), FileEntry = require('cordova/plugin/FileEntry'), FileError = require('cordova/plugin/FileError'), http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/plugin/splashscreen.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/splashscreen.js b/lib/common/plugin/splashscreen.js index 87f919a..7cb48bd 100644 --- a/lib/common/plugin/splashscreen.js +++ b/lib/common/plugin/splashscreen.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'); var splashscreen = { @@ -9,4 +30,4 @@ var splashscreen = { } }; -module.exports = splashscreen; \ No newline at end of file +module.exports = splashscreen; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/common/utils.js ---------------------------------------------------------------------- diff --git a/lib/common/utils.js b/lib/common/utils.js index 8f1415e..139d723 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.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 = exports; /** http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/cordova.js ---------------------------------------------------------------------- diff --git a/lib/cordova.js b/lib/cordova.js index e076773..9cdbab4 100644 --- a/lib/cordova.js +++ b/lib/cordova.js @@ -1,3 +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. + * +*/ + + var channel = require('cordova/channel'); /** http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/exec.js ---------------------------------------------------------------------- diff --git a/lib/ios/exec.js b/lib/ios/exec.js index 9a507fb..95b49e8 100644 --- a/lib/ios/exec.js +++ b/lib/ios/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. + * +*/ + /** * Creates a gap bridge iframe used to notify the native code about queued * commands. http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/platform.js ---------------------------------------------------------------------- diff --git a/lib/ios/platform.js b/lib/ios/platform.js index 9667183..515ee14 100644 --- a/lib/ios/platform.js +++ b/lib/ios/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: "ios", initialize:function() { http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/plugin/ios/Contact.js ---------------------------------------------------------------------- diff --git a/lib/ios/plugin/ios/Contact.js b/lib/ios/plugin/ios/Contact.js index f176e64..863a59d 100644 --- a/lib/ios/plugin/ios/Contact.js +++ b/lib/ios/plugin/ios/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'); @@ -27,4 +48,4 @@ module.exports = { exec(null, errorCB, "Contacts","displayContact", [this.id, options]); } } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/plugin/ios/Entry.js ---------------------------------------------------------------------- diff --git a/lib/ios/plugin/ios/Entry.js b/lib/ios/plugin/ios/Entry.js index 15b43ad..bb8d43c 100644 --- a/lib/ios/plugin/ios/Entry.js +++ b/lib/ios/plugin/ios/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. + * +*/ + module.exports = { toURL:function() { // TODO: refactor path in a cross-platform way so we can eliminate @@ -8,4 +29,4 @@ module.exports = { console.log("DEPRECATED: Update your code to use 'toURL'"); return "file://localhost" + this.fullPath; } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/plugin/ios/FileReader.js ---------------------------------------------------------------------- diff --git a/lib/ios/plugin/ios/FileReader.js b/lib/ios/plugin/ios/FileReader.js index 0a97d7a..52cb7f9 100644 --- a/lib/ios/plugin/ios/FileReader.js +++ b/lib/ios/plugin/ios/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'), FileReader = require('cordova/plugin/FileReader'), @@ -84,4 +105,4 @@ module.exports = { }, "File", "readAsText", [this.fileName, enc]); } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/plugin/ios/console.js ---------------------------------------------------------------------- diff --git a/lib/ios/plugin/ios/console.js b/lib/ios/plugin/ios/console.js index 12472ea..6ec196d 100644 --- a/lib/ios/plugin/ios/console.js +++ b/lib/ios/plugin/ios/console.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'); /** @@ -76,4 +97,4 @@ DebugConsole.prototype.error = function(message) { } }; -module.exports = new DebugConsole(); \ No newline at end of file +module.exports = new DebugConsole(); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/plugin/ios/contacts.js ---------------------------------------------------------------------- diff --git a/lib/ios/plugin/ios/contacts.js b/lib/ios/plugin/ios/contacts.js index 0a0d1b2..09e0696 100644 --- a/lib/ios/plugin/ios/contacts.js +++ b/lib/ios/plugin/ios/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 exec = require('cordova/exec'); /** @@ -38,4 +59,4 @@ module.exports = { }; exec(win, null, "Contacts","chooseContact", [options]); } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/plugin/ios/nativecomm.js ---------------------------------------------------------------------- diff --git a/lib/ios/plugin/ios/nativecomm.js b/lib/ios/plugin/ios/nativecomm.js index 76d75e1..197ebb1 100644 --- a/lib/ios/plugin/ios/nativecomm.js +++ b/lib/ios/plugin/ios/nativecomm.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'); /** http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/ios/plugin/ios/notification.js ---------------------------------------------------------------------- diff --git a/lib/ios/plugin/ios/notification.js b/lib/ios/plugin/ios/notification.js index cbc2da6..98b317c 100644 --- a/lib/ios/plugin/ios/notification.js +++ b/lib/ios/plugin/ios/notification.js @@ -1,7 +1,28 @@ +/* + * + * 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 Media = require('cordova/plugin/Media'); module.exports = { beep:function(count) { (new Media('beep.wav')).play(); } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/scripts/bootstrap-bada.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap-bada.js b/lib/scripts/bootstrap-bada.js index 19cf867..91a6f71 100644 --- a/lib/scripts/bootstrap-bada.js +++ b/lib/scripts/bootstrap-bada.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. + * +*/ + require('cordova/channel').onNativeReady.fire(); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/scripts/bootstrap-playbook.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap-playbook.js b/lib/scripts/bootstrap-playbook.js index a994abf..91a6f71 100644 --- a/lib/scripts/bootstrap-playbook.js +++ b/lib/scripts/bootstrap-playbook.js @@ -1 +1,22 @@ -require('cordova/channel').onNativeReady.fire(); \ No newline at end of file +/* + * + * 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. + * +*/ + +require('cordova/channel').onNativeReady.fire(); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/scripts/bootstrap-qnx.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap-qnx.js b/lib/scripts/bootstrap-qnx.js index 8a5efbf..ace4a6d 100644 --- a/lib/scripts/bootstrap-qnx.js +++ b/lib/scripts/bootstrap-qnx.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. + * +*/ + document.addEventListener("webworksready", function () { require('cordova/channel').onNativeReady.fire(); }); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/scripts/bootstrap-tizen.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap-tizen.js b/lib/scripts/bootstrap-tizen.js index 19cf867..91a6f71 100644 --- a/lib/scripts/bootstrap-tizen.js +++ b/lib/scripts/bootstrap-tizen.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. + * +*/ + require('cordova/channel').onNativeReady.fire(); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/scripts/bootstrap-win8metro.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap-win8metro.js b/lib/scripts/bootstrap-win8metro.js index a994abf..91a6f71 100644 --- a/lib/scripts/bootstrap-win8metro.js +++ b/lib/scripts/bootstrap-win8metro.js @@ -1 +1,22 @@ -require('cordova/channel').onNativeReady.fire(); \ No newline at end of file +/* + * + * 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. + * +*/ + +require('cordova/channel').onNativeReady.fire(); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/scripts/bootstrap.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap.js b/lib/scripts/bootstrap.js old mode 100755 new mode 100644 index 0c765e0..751e311 --- a/lib/scripts/bootstrap.js +++ b/lib/scripts/bootstrap.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 (context) { var channel = require("cordova/channel"), _self = { http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/scripts/require.js ---------------------------------------------------------------------- diff --git a/lib/scripts/require.js b/lib/scripts/require.js index 5ae09e2..9f5d8fc 100644 --- a/lib/scripts/require.js +++ b/lib/scripts/require.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 require, define; @@ -40,4 +61,4 @@ var require, if (typeof module === "object" && typeof require === "function") { module.exports.require = require; module.exports.define = define; -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/test/exec.js ---------------------------------------------------------------------- diff --git a/lib/test/exec.js b/lib/test/exec.js index 1e9164d..a5ea8e8 100644 --- a/lib/test/exec.js +++ b/lib/test/exec.js @@ -1 +1,22 @@ -module.exports = jasmine.createSpy(); \ No newline at end of file +/* + * + * 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 = jasmine.createSpy(); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/exec.js ---------------------------------------------------------------------- diff --git a/lib/tizen/exec.js b/lib/tizen/exec.js index 74e53a2..11a3be5 100644 --- a/lib/tizen/exec.js +++ b/lib/tizen/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/tizen/platform.js ---------------------------------------------------------------------- diff --git a/lib/tizen/platform.js b/lib/tizen/platform.js index d098100..cc5fa45 100644 --- a/lib/tizen/platform.js +++ b/lib/tizen/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: "tizen", initialize: function() {}, http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Accelerometer.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Accelerometer.js b/lib/tizen/plugin/tizen/Accelerometer.js index 127d00e..ef903f3 100644 --- a/lib/tizen/plugin/tizen/Accelerometer.js +++ b/lib/tizen/plugin/tizen/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 = null; module.exports = { @@ -16,4 +37,4 @@ module.exports = { stop: function (successCallback, errorCallback) { window.removeEventListener("devicemotion", callback); } -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Battery.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Battery.js b/lib/tizen/plugin/tizen/Battery.js index 6c633b7..a3c35c4 100644 --- a/lib/tizen/plugin/tizen/Battery.js +++ b/lib/tizen/plugin/tizen/Battery.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. + * +*/ + /*global tizen:false */ var id = null; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/BufferLoader.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/BufferLoader.js b/lib/tizen/plugin/tizen/BufferLoader.js index d0859e1..220b3c0 100644 --- a/lib/tizen/plugin/tizen/BufferLoader.js +++ b/lib/tizen/plugin/tizen/BufferLoader.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. + * +*/ + +/* * Buffer Loader Object * This class provides a sound buffer for one or more sounds * holded in a local file located by an url http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Camera.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Camera.js b/lib/tizen/plugin/tizen/Camera.js index 87e83fb..0a21c19 100644 --- a/lib/tizen/plugin/tizen/Camera.js +++ b/lib/tizen/plugin/tizen/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. + * +*/ + /*global tizen:false */ var Camera = require('cordova/plugin/CameraConstants'); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Compass.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Compass.js b/lib/tizen/plugin/tizen/Compass.js index f1e5d63..74cb48e 100644 --- a/lib/tizen/plugin/tizen/Compass.js +++ b/lib/tizen/plugin/tizen/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 CompassError = require('cordova/plugin/CompassError'), callback = null, ready = false; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Contact.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Contact.js b/lib/tizen/plugin/tizen/Contact.js index f2bf3f5..45c3762 100644 --- a/lib/tizen/plugin/tizen/Contact.js +++ b/lib/tizen/plugin/tizen/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. + * +*/ + /*global tizen:false */ var ContactError = require('cordova/plugin/ContactError'), ContactUtils = require('cordova/plugin/tizen/ContactUtils'), http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/ContactUtils.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/ContactUtils.js b/lib/tizen/plugin/tizen/ContactUtils.js index 3252087..d3314ab 100644 --- a/lib/tizen/plugin/tizen/ContactUtils.js +++ b/lib/tizen/plugin/tizen/ContactUtils.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. + * +*/ + /*global tizen:false */ var ContactAddress = require('cordova/plugin/ContactAddress'), ContactName = require('cordova/plugin/ContactName'), http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Device.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Device.js b/lib/tizen/plugin/tizen/Device.js index 3922bf0..908f05d 100644 --- a/lib/tizen/plugin/tizen/Device.js +++ b/lib/tizen/plugin/tizen/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. + * +*/ + /*global tizen:false */ var channel = require('cordova/channel'); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/File.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/File.js b/lib/tizen/plugin/tizen/File.js index 2bf553d..645bb79 100644 --- a/lib/tizen/plugin/tizen/File.js +++ b/lib/tizen/plugin/tizen/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. + * +*/ + /*global WebKitBlobBuilder:false */ var FileError = require('cordova/plugin/FileError'), DirectoryEntry = require('cordova/plugin/DirectoryEntry'), http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/FileTransfer.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/FileTransfer.js b/lib/tizen/plugin/tizen/FileTransfer.js index 9ed7834..6dda07c 100644 --- a/lib/tizen/plugin/tizen/FileTransfer.js +++ b/lib/tizen/plugin/tizen/FileTransfer.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. + * +*/ + /*global WebKitBlobBuilder:false */ var FileEntry = require('cordova/plugin/FileEntry'), FileTransferError = require('cordova/plugin/FileTransferError'), http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Media.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Media.js b/lib/tizen/plugin/tizen/Media.js index 5eb5c32..68f5b05 100644 --- a/lib/tizen/plugin/tizen/Media.js +++ b/lib/tizen/plugin/tizen/Media.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. + * +*/ + /*global Media:false, webkitURL:false */ var MediaError = require('cordova/plugin/MediaError'), audioObjects = {}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/MediaError.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/MediaError.js b/lib/tizen/plugin/tizen/MediaError.js index fabf77f..aa2db5b 100644 --- a/lib/tizen/plugin/tizen/MediaError.js +++ b/lib/tizen/plugin/tizen/MediaError.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 MediaError object already exists on Tizen. This prevents the Cordova // version from being defined. This object is used to merge in differences @@ -5,4 +26,4 @@ module.exports = { MEDIA_ERR_NONE_ACTIVE : 0, MEDIA_ERR_NONE_SUPPORTED : 4 -}; \ No newline at end of file +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/NetworkStatus.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/NetworkStatus.js b/lib/tizen/plugin/tizen/NetworkStatus.js index 56076e4..46abe05 100644 --- a/lib/tizen/plugin/tizen/NetworkStatus.js +++ b/lib/tizen/plugin/tizen/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. + * +*/ + /*global tizen:false */ var Connection = require('cordova/plugin/Connection'); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/68e3e274/lib/tizen/plugin/tizen/Notification.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Notification.js b/lib/tizen/plugin/tizen/Notification.js index 60b1013..3819fcd 100644 --- a/lib/tizen/plugin/tizen/Notification.js +++ b/lib/tizen/plugin/tizen/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 SoundBeat = require('cordova/plugin/tizen/SoundBeat'); /* TODO: get resource path from app environment? */