Skip to content

Commit

Permalink
dist for codepush improved log
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirco Cipriani committed Jun 13, 2016
1 parent 6e24a4c commit 35235e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions dist/bower/stargate.js
Original file line number Diff line number Diff line change
Expand Up @@ -4643,7 +4643,8 @@ var codepush = (function(){
var registeredCallbacks = {};

var onSyncStatus = function(status) {
log("[CodePush] syncStatus: " + status);
log("[CodePush] syncStatus: " +
protectedInterface.syncStatus[status]);

if (registeredCallbacks[status] && Array === registeredCallbacks[status].constructor) {
registeredCallbacks[status].forEach(function(cb){
Expand Down Expand Up @@ -4704,7 +4705,7 @@ var codepush = (function(){
var onDownloadProgress = function(downloadProgress) {
if (downloadProgress) {
// Update "downloading" modal with current download %
log("[CodePush] Downloading " + downloadProgress.receivedBytes + " of " + downloadProgress);
log("[CodePush] Downloading " + downloadProgress.receivedBytes + " of " + downloadProgress.totalBytes);
}
};

Expand Down
2 changes: 1 addition & 1 deletion dist/bower/stargate.min.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/stargate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8543,7 +8543,8 @@ var codepush = (function(){
var registeredCallbacks = {};

var onSyncStatus = function(status) {
log("[CodePush] syncStatus: " + status);
log("[CodePush] syncStatus: " +
protectedInterface.syncStatus[status]);

if (registeredCallbacks[status] && Array === registeredCallbacks[status].constructor) {
registeredCallbacks[status].forEach(function(cb){
Expand Down Expand Up @@ -8604,7 +8605,7 @@ var codepush = (function(){
var onDownloadProgress = function(downloadProgress) {
if (downloadProgress) {
// Update "downloading" modal with current download %
log("[CodePush] Downloading " + downloadProgress.receivedBytes + " of " + downloadProgress);
log("[CodePush] Downloading " + downloadProgress.receivedBytes + " of " + downloadProgress.totalBytes);
}
};

Expand Down
2 changes: 1 addition & 1 deletion dist/stargate.min.js

Large diffs are not rendered by default.

0 comments on commit 35235e2

Please sign in to comment.