Skip to content

Commit

Permalink
Merge pull request developerforce#61 from hdramos/master
Browse files Browse the repository at this point in the history
Update forcetk.js to support Windows8 in phonegap
  • Loading branch information
Pat Patterson committed Jan 9, 2015
2 parents 4ab6f9c + e530106 commit 5bd5ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forcetk.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if (forcetk.Client === undefined) {
this.clientId = clientId;
this.loginUrl = loginUrl || 'https://login.salesforce.com/';
if (typeof proxyUrl === 'undefined' || proxyUrl === null) {
if (location.protocol === 'file:') {
if (location.protocol === 'file:' || location.protocol === 'ms-appx:') {
// In PhoneGap
this.proxyUrl = null;
} else {
Expand Down

0 comments on commit 5bd5ff1

Please sign in to comment.