From ab1121a6a5faff372dce16d51f014061be06ab6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raphael=20von=20der=20Gr=C3=BCn?= Date: Tue, 14 Aug 2018 17:17:59 +0200 Subject: [PATCH] Delete obsolete fixtures --- .../cordova/fixtures/basePkgJson10/config.xml | 19 --- .../fixtures/basePkgJson10/package.json | 30 ----- .../fixtures/basePkgJson10/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson10/www/index.html | 43 ------- .../fixtures/basePkgJson10/www/js/index.js | 49 -------- .../fixtures/basePkgJson10/www/spec.html | 68 ----------- .../cordova/fixtures/basePkgJson11/config.xml | 20 --- .../fixtures/basePkgJson11/package.json | 27 ---- .../fixtures/basePkgJson11/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson11/www/index.html | 43 ------- .../fixtures/basePkgJson11/www/js/index.js | 49 -------- .../fixtures/basePkgJson11/www/spec.html | 68 ----------- .../cordova/fixtures/basePkgJson12/config.xml | 15 --- .../fixtures/basePkgJson12/package.json | 25 ---- .../fixtures/basePkgJson12/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson12/www/index.html | 43 ------- .../fixtures/basePkgJson12/www/js/index.js | 49 -------- .../fixtures/basePkgJson12/www/spec.html | 68 ----------- spec/cordova/fixtures/basePkgJson3/config.xml | 15 --- .../fixtures/basePkgJson3/package.json | 15 --- .../fixtures/basePkgJson3/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson3/www/index.html | 43 ------- .../fixtures/basePkgJson3/www/js/index.js | 49 -------- .../fixtures/basePkgJson3/www/spec.html | 68 ----------- spec/cordova/fixtures/basePkgJson4/config.xml | 15 --- .../fixtures/basePkgJson4/package.json | 22 ---- .../fixtures/basePkgJson4/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson4/www/index.html | 43 ------- .../fixtures/basePkgJson4/www/js/index.js | 49 -------- .../fixtures/basePkgJson4/www/spec.html | 68 ----------- spec/cordova/fixtures/basePkgJson5/config.xml | 16 --- .../fixtures/basePkgJson5/package.json | 20 --- .../fixtures/basePkgJson5/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson5/www/index.html | 43 ------- .../fixtures/basePkgJson5/www/js/index.js | 49 -------- .../fixtures/basePkgJson5/www/spec.html | 68 ----------- spec/cordova/fixtures/basePkgJson6/config.xml | 15 --- .../fixtures/basePkgJson6/package.json | 20 --- .../fixtures/basePkgJson6/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson6/www/index.html | 43 ------- .../fixtures/basePkgJson6/www/js/index.js | 49 -------- .../fixtures/basePkgJson6/www/spec.html | 68 ----------- spec/cordova/fixtures/basePkgJson8/config.xml | 18 --- .../fixtures/basePkgJson8/package.json | 25 ---- .../fixtures/basePkgJson8/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson8/www/index.html | 43 ------- .../fixtures/basePkgJson8/www/js/index.js | 49 -------- .../fixtures/basePkgJson8/www/spec.html | 68 ----------- spec/cordova/fixtures/basePkgJson9/config.xml | 18 --- .../fixtures/basePkgJson9/package.json | 25 ---- .../fixtures/basePkgJson9/www/css/index.css | 115 ------------------ .../fixtures/basePkgJson9/www/index.html | 43 ------- .../fixtures/basePkgJson9/www/js/index.js | 49 -------- .../fixtures/basePkgJson9/www/spec.html | 68 ----------- 54 files changed, 2835 deletions(-) delete mode 100644 spec/cordova/fixtures/basePkgJson10/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson10/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson10/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson10/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson10/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson10/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson11/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson11/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson11/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson11/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson11/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson11/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson12/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson12/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson12/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson12/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson12/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson12/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson3/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson3/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson3/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson3/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson3/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson3/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson4/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson4/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson4/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson4/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson4/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson4/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson5/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson5/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson5/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson5/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson5/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson5/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson6/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson6/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson6/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson6/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson6/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson6/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson8/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson8/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson8/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson8/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson8/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson8/www/spec.html delete mode 100644 spec/cordova/fixtures/basePkgJson9/config.xml delete mode 100644 spec/cordova/fixtures/basePkgJson9/package.json delete mode 100644 spec/cordova/fixtures/basePkgJson9/www/css/index.css delete mode 100644 spec/cordova/fixtures/basePkgJson9/www/index.html delete mode 100644 spec/cordova/fixtures/basePkgJson9/www/js/index.js delete mode 100644 spec/cordova/fixtures/basePkgJson9/www/spec.html diff --git a/spec/cordova/fixtures/basePkgJson10/config.xml b/spec/cordova/fixtures/basePkgJson10/config.xml deleted file mode 100644 index 7091fe2e3..000000000 --- a/spec/cordova/fixtures/basePkgJson10/config.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson10/package.json b/spec/cordova/fixtures/basePkgJson10/package.json deleted file mode 100644 index 01a4a7e86..000000000 --- a/spec/cordova/fixtures/basePkgJson10/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^2.3.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "browser" - ], - "plugins": { - "cordova-plugin-device": { - "variable_1": "value_1" - }, - "cordova-plugin-splashscreen": {}, - "cordova-plugin-camera": { - "variable_1": " ", - "variable_2": " " - } - } - } -} \ No newline at end of file diff --git a/spec/cordova/fixtures/basePkgJson10/www/css/index.css b/spec/cordova/fixtures/basePkgJson10/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson10/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson10/www/index.html b/spec/cordova/fixtures/basePkgJson10/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson10/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson10/www/js/index.js b/spec/cordova/fixtures/basePkgJson10/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson10/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson10/www/spec.html b/spec/cordova/fixtures/basePkgJson10/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson10/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson11/config.xml b/spec/cordova/fixtures/basePkgJson11/config.xml deleted file mode 100644 index 1d975bb8c..000000000 --- a/spec/cordova/fixtures/basePkgJson11/config.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson11/package.json b/spec/cordova/fixtures/basePkgJson11/package.json deleted file mode 100644 index 9ab79860c..000000000 --- a/spec/cordova/fixtures/basePkgJson11/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^2.3.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "browser" - ], - "plugins": { - "cordova-plugin-splashscreen": {}, - "cordova-plugin-camera": { - "variable_1": "value_1", - "variable_3": "value_3" - } - } - } -} \ No newline at end of file diff --git a/spec/cordova/fixtures/basePkgJson11/www/css/index.css b/spec/cordova/fixtures/basePkgJson11/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson11/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson11/www/index.html b/spec/cordova/fixtures/basePkgJson11/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson11/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson11/www/js/index.js b/spec/cordova/fixtures/basePkgJson11/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson11/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson11/www/spec.html b/spec/cordova/fixtures/basePkgJson11/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson11/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson12/config.xml b/spec/cordova/fixtures/basePkgJson12/config.xml deleted file mode 100644 index a343278fe..000000000 --- a/spec/cordova/fixtures/basePkgJson12/config.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson12/package.json b/spec/cordova/fixtures/basePkgJson12/package.json deleted file mode 100644 index 6d8e08bfe..000000000 --- a/spec/cordova/fixtures/basePkgJson12/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^2.3.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "browser" - ], - "plugins": { - "cordova-plugin-camera": { - "variable_1": "value_1" - } - } - } -} \ No newline at end of file diff --git a/spec/cordova/fixtures/basePkgJson12/www/css/index.css b/spec/cordova/fixtures/basePkgJson12/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson12/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson12/www/index.html b/spec/cordova/fixtures/basePkgJson12/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson12/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson12/www/js/index.js b/spec/cordova/fixtures/basePkgJson12/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson12/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson12/www/spec.html b/spec/cordova/fixtures/basePkgJson12/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson12/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson3/config.xml b/spec/cordova/fixtures/basePkgJson3/config.xml deleted file mode 100644 index 789577255..000000000 --- a/spec/cordova/fixtures/basePkgJson3/config.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson3/package.json b/spec/cordova/fixtures/basePkgJson3/package.json deleted file mode 100644 index 82b450aee..000000000 --- a/spec/cordova/fixtures/basePkgJson3/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^2.3.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC" -} \ No newline at end of file diff --git a/spec/cordova/fixtures/basePkgJson3/www/css/index.css b/spec/cordova/fixtures/basePkgJson3/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson3/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson3/www/index.html b/spec/cordova/fixtures/basePkgJson3/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson3/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson3/www/js/index.js b/spec/cordova/fixtures/basePkgJson3/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson3/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson3/www/spec.html b/spec/cordova/fixtures/basePkgJson3/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson3/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson4/config.xml b/spec/cordova/fixtures/basePkgJson4/config.xml deleted file mode 100644 index e0d85b5d7..000000000 --- a/spec/cordova/fixtures/basePkgJson4/config.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson4/package.json b/spec/cordova/fixtures/basePkgJson4/package.json deleted file mode 100644 index 8e4c79549..000000000 --- a/spec/cordova/fixtures/basePkgJson4/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-ios": "^4.5.4", - "cordova-browser": "^5.0.3" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "ios", - "browser" - ] - } -} diff --git a/spec/cordova/fixtures/basePkgJson4/www/css/index.css b/spec/cordova/fixtures/basePkgJson4/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson4/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson4/www/index.html b/spec/cordova/fixtures/basePkgJson4/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson4/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson4/www/js/index.js b/spec/cordova/fixtures/basePkgJson4/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson4/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson4/www/spec.html b/spec/cordova/fixtures/basePkgJson4/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson4/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson5/config.xml b/spec/cordova/fixtures/basePkgJson5/config.xml deleted file mode 100644 index a8435087a..000000000 --- a/spec/cordova/fixtures/basePkgJson5/config.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson5/package.json b/spec/cordova/fixtures/basePkgJson5/package.json deleted file mode 100644 index 24f99aa4e..000000000 --- a/spec/cordova/fixtures/basePkgJson5/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^3.0.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "android" - ] - } -} diff --git a/spec/cordova/fixtures/basePkgJson5/www/css/index.css b/spec/cordova/fixtures/basePkgJson5/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson5/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson5/www/index.html b/spec/cordova/fixtures/basePkgJson5/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson5/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson5/www/js/index.js b/spec/cordova/fixtures/basePkgJson5/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson5/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson5/www/spec.html b/spec/cordova/fixtures/basePkgJson5/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson5/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson6/config.xml b/spec/cordova/fixtures/basePkgJson6/config.xml deleted file mode 100644 index 789577255..000000000 --- a/spec/cordova/fixtures/basePkgJson6/config.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson6/package.json b/spec/cordova/fixtures/basePkgJson6/package.json deleted file mode 100644 index f732cfb25..000000000 --- a/spec/cordova/fixtures/basePkgJson6/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^2.3.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "android" - ] - } -} \ No newline at end of file diff --git a/spec/cordova/fixtures/basePkgJson6/www/css/index.css b/spec/cordova/fixtures/basePkgJson6/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson6/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson6/www/index.html b/spec/cordova/fixtures/basePkgJson6/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson6/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson6/www/js/index.js b/spec/cordova/fixtures/basePkgJson6/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson6/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson6/www/spec.html b/spec/cordova/fixtures/basePkgJson6/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson6/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson8/config.xml b/spec/cordova/fixtures/basePkgJson8/config.xml deleted file mode 100644 index bd406b7a3..000000000 --- a/spec/cordova/fixtures/basePkgJson8/config.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson8/package.json b/spec/cordova/fixtures/basePkgJson8/package.json deleted file mode 100644 index 70613179d..000000000 --- a/spec/cordova/fixtures/basePkgJson8/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^2.3.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "browser" - ], - "plugins": { - "cordova-plugin-camera": { - "variable_1": "json" - } - } - } -} \ No newline at end of file diff --git a/spec/cordova/fixtures/basePkgJson8/www/css/index.css b/spec/cordova/fixtures/basePkgJson8/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson8/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson8/www/index.html b/spec/cordova/fixtures/basePkgJson8/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson8/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson8/www/js/index.js b/spec/cordova/fixtures/basePkgJson8/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson8/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson8/www/spec.html b/spec/cordova/fixtures/basePkgJson8/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson8/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson9/config.xml b/spec/cordova/fixtures/basePkgJson9/config.xml deleted file mode 100644 index 6c6bf588a..000000000 --- a/spec/cordova/fixtures/basePkgJson9/config.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - TestBase - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - - - - diff --git a/spec/cordova/fixtures/basePkgJson9/package.json b/spec/cordova/fixtures/basePkgJson9/package.json deleted file mode 100644 index 62ccdc96b..000000000 --- a/spec/cordova/fixtures/basePkgJson9/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "testbase", - "version": "1.0.0", - "description": "", - "main": "index.js", - "dependencies": { - "cordova-plugin-camera": "^2.3.0" - }, - "devDependencies": {}, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "cordova": { - "platforms": [ - "browser" - ], - "plugins": { - "cordova-plugin-camera": { - - } - } - } -} \ No newline at end of file diff --git a/spec/cordova/fixtures/basePkgJson9/www/css/index.css b/spec/cordova/fixtures/basePkgJson9/www/css/index.css deleted file mode 100644 index 51daa797c..000000000 --- a/spec/cordova/fixtures/basePkgJson9/www/css/index.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * 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. - */ -* { - -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ -} - -body { - -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ - -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ - -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ - background-color:#E4E4E4; - background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%); - background-image:-webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, #A7A7A7), - color-stop(0.51, #E4E4E4) - ); - background-attachment:fixed; - font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; - font-size:12px; - height:100%; - margin:0px; - padding:0px; - text-transform:uppercase; - width:100%; -} - -/* Portrait layout (default) */ -.app { - background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */ - position:absolute; /* position in the center of the screen */ - left:50%; - top:50%; - height:50px; /* text area height */ - width:225px; /* text area width */ - text-align:center; - padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */ - margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */ - /* offset horizontal: half of text area width */ -} - -/* Landscape layout (with min-width) */ -@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) { - .app { - background-position:left center; - padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */ - margin:-90px 0px 0px -198px; /* offset vertical: half of image height */ - /* offset horizontal: half of image width and text area width */ - } -} - -h1 { - font-size:24px; - font-weight:normal; - margin:0px; - overflow:visible; - padding:0px; - text-align:center; -} - -.event { - border-radius:4px; - -webkit-border-radius:4px; - color:#FFFFFF; - font-size:12px; - margin:0px 30px; - padding:2px 0px; -} - -.event.listening { - background-color:#333333; - display:block; -} - -.event.received { - background-color:#4B946A; - display:none; -} - -@keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -@-webkit-keyframes fade { - from { opacity: 1.0; } - 50% { opacity: 0.4; } - to { opacity: 1.0; } -} - -.blink { - animation:fade 3000ms infinite; - -webkit-animation:fade 3000ms infinite; -} diff --git a/spec/cordova/fixtures/basePkgJson9/www/index.html b/spec/cordova/fixtures/basePkgJson9/www/index.html deleted file mode 100644 index bde5741f4..000000000 --- a/spec/cordova/fixtures/basePkgJson9/www/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - Hello World - - -
-

Apache Cordova

- -
- - - - - diff --git a/spec/cordova/fixtures/basePkgJson9/www/js/index.js b/spec/cordova/fixtures/basePkgJson9/www/js/index.js deleted file mode 100644 index 31d9064eb..000000000 --- a/spec/cordova/fixtures/basePkgJson9/www/js/index.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 app = { - // Application Constructor - initialize: function() { - this.bindEvents(); - }, - // Bind Event Listeners - // - // Bind any events that are required on startup. Common events are: - // 'load', 'deviceready', 'offline', and 'online'. - bindEvents: function() { - document.addEventListener('deviceready', this.onDeviceReady, false); - }, - // deviceready Event Handler - // - // The scope of 'this' is the event. In order to call the 'receivedEvent' - // function, we must explicity call 'app.receivedEvent(...);' - onDeviceReady: function() { - app.receivedEvent('deviceready'); - }, - // Update DOM on a Received Event - receivedEvent: function(id) { - var parentElement = document.getElementById(id); - var listeningElement = parentElement.querySelector('.listening'); - var receivedElement = parentElement.querySelector('.received'); - - listeningElement.setAttribute('style', 'display:none;'); - receivedElement.setAttribute('style', 'display:block;'); - - console.log('Received Event: ' + id); - } -}; diff --git a/spec/cordova/fixtures/basePkgJson9/www/spec.html b/spec/cordova/fixtures/basePkgJson9/www/spec.html deleted file mode 100644 index 71f00de05..000000000 --- a/spec/cordova/fixtures/basePkgJson9/www/spec.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Jasmine Spec Runner - - - - - - - - - - - - - - - - - - - -