diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-09-23 15:45:30 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-09-23 15:45:30 -0400 |
| commit | 1d1c2168ff30ac9452b0929db4ae1f5baa83657a (patch) | |
| tree | 1967e3ca3898bf2f33938e89bd1e6add6e49a570 /plugins/cordova-plugin-splashscreen | |
| parent | 26821696678cf84ee19f4eb803807e41a7b56780 (diff) | |
updates
Diffstat (limited to 'plugins/cordova-plugin-splashscreen')
6 files changed, 11 insertions, 11 deletions
diff --git a/plugins/cordova-plugin-splashscreen/src/browser/SplashScreenProxy.js b/plugins/cordova-plugin-splashscreen/src/browser/SplashScreenProxy.js index 76d51bfa..d19f8c87 100644 --- a/plugins/cordova-plugin-splashscreen/src/browser/SplashScreenProxy.js +++ b/plugins/cordova-plugin-splashscreen/src/browser/SplashScreenProxy.js @@ -21,7 +21,7 @@ // Default parameter values including image size can be changed in `config.xml` var splashImageWidth = 170; var splashImageHeight = 200; -var position = { x: 0, y: 0, width: splashImageWidth, height: splashImageHeight }; +var position = { x: 0, y: 0, width: splashImageWidth, height: splashImageHeight }; var splash = null; // var localSplash; // the image to display var localSplashImage; diff --git a/plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h b/plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h index 3feede64..0d6ae397 100644 --- a/plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h +++ b/plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h @@ -27,7 +27,7 @@ typedef struct { BOOL iPhone6; BOOL iPhone6Plus; BOOL retina; - + } CDV_iOSDevice; @interface CDVSplashScreen : CDVPlugin { diff --git a/plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.cs b/plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.cs index 2c02e744..050c3927 100644 --- a/plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.cs +++ b/plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.cs @@ -21,12 +21,12 @@ namespace WPCordovaClassLib.Cordova.Commands public enum Resolutions { WVGA, WXGA, HD }; public static class ResolutionHelper - { + { public static Resolutions CurrentResolution { get { - switch (Application.Current.Host.Content.ScaleFactor) + switch (Application.Current.Host.Content.ScaleFactor) { case 100: return Resolutions.WVGA; case 160: return Resolutions.WXGA; @@ -36,4 +36,4 @@ namespace WPCordovaClassLib.Cordova.Commands } } } -} +}
\ No newline at end of file diff --git a/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests/ImageNameTestDelegates.h b/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests/ImageNameTestDelegates.h index 4756c79e..be4a7883 100644 --- a/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests/ImageNameTestDelegates.h +++ b/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests/ImageNameTestDelegates.h @@ -6,9 +6,9 @@ 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 diff --git a/plugins/cordova-plugin-splashscreen/tests/ios/package.json b/plugins/cordova-plugin-splashscreen/tests/ios/package.json index 761436c5..d8b23857 100644 --- a/plugins/cordova-plugin-splashscreen/tests/ios/package.json +++ b/plugins/cordova-plugin-splashscreen/tests/ios/package.json @@ -9,5 +9,5 @@ }, "scripts": { "test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp'" - } -} + } +}
\ No newline at end of file diff --git a/plugins/cordova-plugin-splashscreen/www/windows/SplashScreenProxy.js b/plugins/cordova-plugin-splashscreen/www/windows/SplashScreenProxy.js index 1974b7dc..dab72381 100644 --- a/plugins/cordova-plugin-splashscreen/www/windows/SplashScreenProxy.js +++ b/plugins/cordova-plugin-splashscreen/www/windows/SplashScreenProxy.js @@ -1,4 +1,4 @@ -/* +/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -26,7 +26,7 @@ var cordova = require('cordova'), channel = require('cordova/channel'); var isPhone = (cordova.platformId == "windows") && WinJS.Utilities.isPhone; -var localSplash = null; +var localSplash = null; var bgColor = "#464646"; // default backgrond color; TDOO - read it from .appxmanifest var splashImageSrc = isPhone ? "ms-appx:///images/splashscreenphone.png" : "ms-appx:///images/splashscreen.png"; |
