You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by au...@apache.org on 2017/07/14 23:45:19 UTC
[2/5] ios commit: CB-12895 : removed jshint and added eslint
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/empty.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/empty.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/empty.js
index 6b7663a..627bc39 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/empty.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/empty.js
@@ -1,135 +1,135 @@
module.exports = {
- "images": [{
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
+ 'images': [{
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
}, {
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact'
}, {
- "idiom": "universal",
- "scale": "1x",
- "height-class": "compact"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'height-class': 'compact'
}, {
- "idiom": "universal",
- "scale": "1x"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
+ 'idiom': 'universal',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
}, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact'
}, {
- "idiom": "universal",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "2x"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "2x",
- "height-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "2x"
+ 'idiom': 'iphone',
+ 'scale': '2x'
}, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x",
- "height-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x"
+ 'idiom': 'iphone',
+ 'scale': '3x'
}],
- "info": {
- "author": "Xcode",
- "version": 1
+ 'info': {
+ 'author': 'Xcode',
+ 'version': 1
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/single-2xanyany.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/single-2xanyany.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/single-2xanyany.js
index c58f6c4..9485e81 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/single-2xanyany.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/single-2xanyany.js
@@ -1,136 +1,136 @@
module.exports = {
- "images": [{
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x",
- "height-class": "compact"
+ 'images': [{
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'height-class': 'compact'
}, {
- "idiom": "universal",
- "scale": "1x"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "filename": "Default@2x~universal~anyany.png"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
+ 'idiom': 'universal',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'filename': 'Default@2x~universal~anyany.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "2x",
- "height-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "2x"
+ 'idiom': 'iphone',
+ 'scale': '2x'
}, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x",
- "height-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x"
+ 'idiom': 'iphone',
+ 'scale': '3x'
}],
- "info": {
- "author": "Xcode",
- "version": 1
+ 'info': {
+ 'author': 'Xcode',
+ 'version': 1
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/typical-universal.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/typical-universal.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/typical-universal.js
index 0e8e986..3a9b96b 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/typical-universal.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/typical-universal.js
@@ -1,141 +1,141 @@
module.exports = {
- "images": [{
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact",
- "filename": "Default@2x~universal~comcom.png"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact",
- "filename": "Default@2x~universal~comany.png"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "filename": "Default@2x~universal~anyany.png"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact",
- "filename": "Default@3x~universal~comany.png"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "height-class": "compact",
- "filename": "Default@3x~universal~anycom.png"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "filename": "Default@3x~universal~anyany.png"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "2x"
- }, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact"
+ 'images': [{
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact',
+ 'filename': 'Default@2x~universal~comcom.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'filename': 'Default@2x~universal~comany.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'filename': 'Default@2x~universal~anyany.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'filename': 'Default@3x~universal~comany.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'height-class': 'compact',
+ 'filename': 'Default@3x~universal~anycom.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'filename': 'Default@3x~universal~anyany.png'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x",
- "height-class": "compact"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'height-class': 'compact'
}, {
- "idiom": "iphone",
- "scale": "3x"
+ 'idiom': 'iphone',
+ 'scale': '3x'
}],
- "info": {
- "author": "Xcode",
- "version": 1
+ 'info': {
+ 'author': 'Xcode',
+ 'version': 1
}
};
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/varied-device.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/varied-device.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/varied-device.js
index 548ea04..6f1e27a 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/varied-device.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-json/varied-device.js
@@ -1,144 +1,144 @@
module.exports = {
- "images": [{
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "1x"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact",
- "filename": "Default@2x~universal~comcom.png"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "width-class": "compact",
- "filename": "Default@2x~universal~comany.png"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "2x",
- "filename": "Default@2x~universal~anyany.png"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "width-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x",
- "height-class": "compact"
- }, {
- "idiom": "universal",
- "scale": "3x"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "1x"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact",
- "filename": "Default@2x~ipad~comcom.png"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "width-class": "compact",
- "filename": "Default@2x~ipad~comany.png"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "ipad",
- "scale": "2x",
- "filename": "Default@2x~ipad~anyany.png"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "width-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "1x"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "width-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "2x",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "2x"
- }, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact",
- "height-class": "compact"
- }, {
- "idiom": "iphone",
- "scale": "3x",
- "width-class": "compact",
- "filename": "Default@3x~iphone~comany.png"
- }, {
- "idiom": "iphone",
- "scale": "3x",
- "height-class": "compact",
- "filename": "Default@3x~iphone~anycom.png"
- }, {
- "idiom": "iphone",
- "scale": "3x",
- "filename": "Default@3x~iphone~anyany.png"
+ 'images': [{
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact',
+ 'filename': 'Default@2x~universal~comcom.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'filename': 'Default@2x~universal~comany.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'filename': 'Default@2x~universal~anyany.png'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'universal',
+ 'scale': '3x'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact',
+ 'filename': 'Default@2x~ipad~comcom.png'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'filename': 'Default@2x~ipad~comany.png'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'filename': 'Default@2x~ipad~anyany.png'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '1x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '2x'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'height-class': 'compact'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width-class': 'compact',
+ 'filename': 'Default@3x~iphone~comany.png'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'height-class': 'compact',
+ 'filename': 'Default@3x~iphone~anycom.png'
+ }, {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'filename': 'Default@3x~iphone~anyany.png'
}],
- "info": {
- "author": "Xcode",
- "version": 1
+ 'info': {
+ 'author': 'Xcode',
+ 'version': 1
}
};
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/empty-map.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/empty-map.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/empty-map.js
index 36d8a81..a81c5b6 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/empty-map.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/empty-map.js
@@ -1,194 +1,194 @@
module.exports = [
- {
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "any"
- },
- {
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "any"
- },
- {
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "any"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "any"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "any"
- },
- {
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "any"
- },
- {
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "any"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "com"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "any"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "com"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "any"
- }
+ {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com'
+ },
+ {
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any'
+ }
];
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/single-2xanyany-map.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/single-2xanyany-map.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/single-2xanyany-map.js
index 5d8ec3d..54d98b5 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/single-2xanyany-map.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/single-2xanyany-map.js
@@ -1,197 +1,197 @@
module.exports = [
{
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "any",
- "filename": "Default@2x~universal~anyany.png",
- "src": "res/splash/ios/Default@2x~universal~anyany.png",
- "target": "Default@2x~universal~anyany.png"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any',
+ 'filename': 'Default@2x~universal~anyany.png',
+ 'src': 'res/splash/ios/Default@2x~universal~anyany.png',
+ 'target': 'Default@2x~universal~anyany.png'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any'
}
];
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/typical-universal-map.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/typical-universal-map.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/typical-universal-map.js
index eef09ef..e571a09 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/typical-universal-map.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/typical-universal-map.js
@@ -1,212 +1,212 @@
module.exports = [
{
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "com",
- "filename": "Default@2x~universal~comcom.png",
- "src": "res/splash/ios/Default@2x~universal~comcom.png",
- "target": "Default@2x~universal~comcom.png"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com',
+ 'filename': 'Default@2x~universal~comcom.png',
+ 'src': 'res/splash/ios/Default@2x~universal~comcom.png',
+ 'target': 'Default@2x~universal~comcom.png'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "any",
- "filename": "Default@2x~universal~comany.png",
- "src": "res/splash/ios/Default@2x~universal~comany.png",
- "target": "Default@2x~universal~comany.png"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any',
+ 'filename': 'Default@2x~universal~comany.png',
+ 'src': 'res/splash/ios/Default@2x~universal~comany.png',
+ 'target': 'Default@2x~universal~comany.png'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "any",
- "filename": "Default@2x~universal~anyany.png",
- "src": "res/splash/ios/Default@2x~universal~anyany.png",
- "target": "Default@2x~universal~anyany.png"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any',
+ 'filename': 'Default@2x~universal~anyany.png',
+ 'src': 'res/splash/ios/Default@2x~universal~anyany.png',
+ 'target': 'Default@2x~universal~anyany.png'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "any",
- "filename": "Default@3x~universal~comany.png",
- "src": "res/splash/ios/Default@3x~universal~comany.png",
- "target": "Default@3x~universal~comany.png"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any',
+ 'filename': 'Default@3x~universal~comany.png',
+ 'src': 'res/splash/ios/Default@3x~universal~comany.png',
+ 'target': 'Default@3x~universal~comany.png'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "com",
- "filename": "Default@3x~universal~anycom.png",
- "src": "res/splash/ios/Default@3x~universal~anycom.png",
- "target": "Default@3x~universal~anycom.png"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com',
+ 'filename': 'Default@3x~universal~anycom.png',
+ 'src': 'res/splash/ios/Default@3x~universal~anycom.png',
+ 'target': 'Default@3x~universal~anycom.png'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "any",
- "filename": "Default@3x~universal~anyany.png",
- "src": "res/splash/ios/Default@3x~universal~anyany.png",
- "target": "Default@3x~universal~anyany.png"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any',
+ 'filename': 'Default@3x~universal~anyany.png',
+ 'src': 'res/splash/ios/Default@3x~universal~anyany.png',
+ 'target': 'Default@3x~universal~anyany.png'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any'
}
];
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/varied-device-map.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/varied-device-map.js b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/varied-device-map.js
index e6d39ed..b9480fc 100644
--- a/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/varied-device-map.js
+++ b/tests/spec/unit/fixtures/launch-storyboard-support/contents-map/varied-device-map.js
@@ -1,221 +1,221 @@
module.exports = [
{
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "com",
- "filename": "Default@2x~universal~comcom.png",
- "src": "res/splash/ios/Default@2x~universal~comcom.png",
- "target": "Default@2x~universal~comcom.png"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com',
+ 'filename': 'Default@2x~universal~comcom.png',
+ 'src': 'res/splash/ios/Default@2x~universal~comcom.png',
+ 'target': 'Default@2x~universal~comcom.png'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "com",
- "height": "any",
- "filename": "Default@2x~universal~comany.png",
- "src": "res/splash/ios/Default@2x~universal~comany.png",
- "target": "Default@2x~universal~comany.png"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any',
+ 'filename': 'Default@2x~universal~comany.png',
+ 'src': 'res/splash/ios/Default@2x~universal~comany.png',
+ 'target': 'Default@2x~universal~comany.png'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "2x",
- "width": "any",
- "height": "any",
- "filename": "Default@2x~universal~anyany.png",
- "src": "res/splash/ios/Default@2x~universal~anyany.png",
- "target": "Default@2x~universal~anyany.png"
+ 'idiom': 'universal',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any',
+ 'filename': 'Default@2x~universal~anyany.png',
+ 'src': 'res/splash/ios/Default@2x~universal~anyany.png',
+ 'target': 'Default@2x~universal~anyany.png'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "com",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "com"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "universal",
- "scale": "3x",
- "width": "any",
- "height": "any"
+ 'idiom': 'universal',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'ipad',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "com",
- "filename": "Default@2x~ipad~comcom.png",
- "src": "res/splash/ios/Default@2x~ipad~comcom.png",
- "target": "Default@2x~ipad~comcom.png"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com',
+ 'filename': 'Default@2x~ipad~comcom.png',
+ 'src': 'res/splash/ios/Default@2x~ipad~comcom.png',
+ 'target': 'Default@2x~ipad~comcom.png'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "com",
- "height": "any",
- "filename": "Default@2x~ipad~comany.png",
- "src": "res/splash/ios/Default@2x~ipad~comany.png",
- "target": "Default@2x~ipad~comany.png"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any',
+ 'filename': 'Default@2x~ipad~comany.png',
+ 'src': 'res/splash/ios/Default@2x~ipad~comany.png',
+ 'target': 'Default@2x~ipad~comany.png'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "ipad",
- "scale": "2x",
- "width": "any",
- "height": "any",
- "filename": "Default@2x~ipad~anyany.png",
- "src": "res/splash/ios/Default@2x~ipad~anyany.png",
- "target": "Default@2x~ipad~anyany.png"
+ 'idiom': 'ipad',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any',
+ 'filename': 'Default@2x~ipad~anyany.png',
+ 'src': 'res/splash/ios/Default@2x~ipad~anyany.png',
+ 'target': 'Default@2x~ipad~anyany.png'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "1x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '1x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "com",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'com',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "2x",
- "width": "any",
- "height": "any"
+ 'idiom': 'iphone',
+ 'scale': '2x',
+ 'width': 'any',
+ 'height': 'any'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "com"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'com'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "com",
- "height": "any",
- "filename": "Default@3x~iphone~comany.png",
- "src": "res/splash/ios/Default@3x~iphone~comany.png",
- "target": "Default@3x~iphone~comany.png"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'com',
+ 'height': 'any',
+ 'filename': 'Default@3x~iphone~comany.png',
+ 'src': 'res/splash/ios/Default@3x~iphone~comany.png',
+ 'target': 'Default@3x~iphone~comany.png'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "com",
- "filename": "Default@3x~iphone~anycom.png",
- "src": "res/splash/ios/Default@3x~iphone~anycom.png",
- "target": "Default@3x~iphone~anycom.png"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'com',
+ 'filename': 'Default@3x~iphone~anycom.png',
+ 'src': 'res/splash/ios/Default@3x~iphone~anycom.png',
+ 'target': 'Default@3x~iphone~anycom.png'
},
{
- "idiom": "iphone",
- "scale": "3x",
- "width": "any",
- "height": "any",
- "filename": "Default@3x~iphone~anyany.png",
- "src": "res/splash/ios/Default@3x~iphone~anyany.png",
- "target": "Default@3x~iphone~anyany.png"
+ 'idiom': 'iphone',
+ 'scale': '3x',
+ 'width': 'any',
+ 'height': 'any',
+ 'filename': 'Default@3x~iphone~anyany.png',
+ 'src': 'res/splash/ios/Default@3x~iphone~anyany.png',
+ 'target': 'Default@3x~iphone~anyany.png'
}
];
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js b/tests/spec/unit/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js
index 631d6da..deba887 100644
--- a/tests/spec/unit/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js
+++ b/tests/spec/unit/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js
@@ -1 +1,2 @@
-./org.test.plugins.dummyplugin/www/dummyplugin.js
+/* eslint-disable */
+org.test.plugins.dummyplugin/www/dummyplugin.js
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/lib/list-devices.spec.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/lib/list-devices.spec.js b/tests/spec/unit/lib/list-devices.spec.js
index 0a5b293..9b50a6b 100644
--- a/tests/spec/unit/lib/list-devices.spec.js
+++ b/tests/spec/unit/lib/list-devices.spec.js
@@ -35,14 +35,14 @@ describe('cordova/lib/list-devices', function () {
it('should trim and split standard output and return as array', function (done) {
Q.all.and.returnValue(Q.resolve([[' this is\nmy sweet\nstdout\n ']]));
list_devices.run()
- .then(function (results) {
- expect(results).toContain('this is');
- expect(results).toContain('my sweet');
- expect(results).toContain('stdout');
- }).fail(function (err) {
- fail('list-devices fail handler unexpectedly invoked');
- console.error(err);
- }).done(done);
+ .then(function (results) {
+ expect(results).toContain('this is');
+ expect(results).toContain('my sweet');
+ expect(results).toContain('stdout');
+ }).fail(function (err) {
+ fail('list-devices fail handler unexpectedly invoked');
+ console.error(err);
+ }).done(done);
});
});
});
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/83435d56/tests/spec/unit/lib/run.spec.js
----------------------------------------------------------------------
diff --git a/tests/spec/unit/lib/run.spec.js b/tests/spec/unit/lib/run.spec.js
index 4566e15..1d7aed3 100644
--- a/tests/spec/unit/lib/run.spec.js
+++ b/tests/spec/unit/lib/run.spec.js
@@ -46,13 +46,13 @@ if (process.platform === 'darwin') {
});
it('should delegate to to both listEmulators and listDevices methods if neither `options.device` nor `options.emulator` are specified', function (done) {
run.run({list: true})
- .then(function () {
- expect(run.listDevices).toHaveBeenCalled();
- expect(run.listEmulators).toHaveBeenCalled();
- }).fail(function (err) {
- fail('run fail handler unexpectedly invoked');
- console.error(err);
- }).done(done);
+ .then(function () {
+ expect(run.listDevices).toHaveBeenCalled();
+ expect(run.listEmulators).toHaveBeenCalled();
+ }).fail(function (err) {
+ fail('run fail handler unexpectedly invoked');
+ console.error(err);
+ }).done(done);
});
});
});
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org