fix build

This commit is contained in:
Matias Alejo Garcia 2015-01-03 13:40:35 -03:00
commit a132398fca
4 changed files with 7 additions and 4 deletions

View file

@ -20,9 +20,9 @@ VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
CURRENT_OS=$1
if [ -z "CURRENT_OS" ]
do
then
echo "Build.sh WP8|ANDROID|IPHONE"
done
fi
CLEAR=false
DBGJS=false
@ -171,7 +171,9 @@ if [ $CURRENT_OS == "WP8" ]; then
cp -R $PROJECT/www/* $PROJECT/platforms/wp8/www
checkOK
cp -R wp/res/* $PROJECT/platforms/wp/res
mkdir -p $PROJECT/platforms/res/wp
cp -v wp/res/* $PROJECT/platforms/wp8/Assets
cp -v wp/res/SplashScreenImage.jpg $PROJECT/platforms/wp8/
checkOK
fi

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View file

@ -1,10 +1,11 @@
'use strict';
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $timeout, $window, go, notification, identityService, Compatibility, pinService, applicationService, isMobile) {
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $timeout, $window, go, notification, identityService, Compatibility, pinService, applicationService, isMobile, isCordova) {
var _credentials, _firstpin;
$scope.init = function() {
$scope.isMobile = isMobile.any();
$scope.isWindowsPhoneApp = isMobile.Windows() && isCordova;
$scope.attempt = 0;
// This is only for backwards compat, insight api should link to #!/confirmed directly