cordova-plugin-hotpushes
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "cordova-plugin-hotpushes", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"cordova": { | ||
@@ -5,0 +5,0 @@ "id": "cordova-plugin-hotpushes", |
@@ -172,3 +172,3 @@ /* global cordova:false */ | ||
if (this.options.type === 'replace') { | ||
this._syncs = [ContentSync.sync({ src: this.options.archiveURL, id: 'assets' })]; | ||
this._syncs = [ContentSync.sync({ src: this.options.archiveURL, id: 'assets', headers: this.options.headers})]; | ||
@@ -215,3 +215,3 @@ this._syncs[0].on('progress', function(data) { | ||
domEl.setAttribute("src", this._getLocalPath(this.options.versionJSONPFileName) + '?' + time); | ||
domEl.onerror = function(err) {console.log(err);window.hotPushJSONP(null);} | ||
domEl.onerror = function(err) {window.hotPushJSONP(null);} | ||
head.appendChild(domEl); | ||
@@ -218,0 +218,0 @@ }; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19126