Skip to content

Commit 9237cfa

Browse files
committed
Update forcetk.js
changed $ to jQuery
1 parent 4615389 commit 9237cfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

forcetk.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if (forcetk.Client === undefined) {
9898
'use strict';
9999
var that = this,
100100
url = this.loginUrl + '/services/oauth2/token';
101-
return $.ajax({
101+
return jQuery.ajax({
102102
type: 'POST',
103103
url: (this.proxyUrl !== null && !this.visualforce) ? this.proxyUrl : url,
104104
cache: false,
@@ -163,7 +163,7 @@ if (forcetk.Client === undefined) {
163163
var that = this,
164164
url = (this.visualforce ? '' : this.instanceUrl) + '/services/data' + path;
165165

166-
return $.ajax({
166+
return jQuery.ajax({
167167
type: method || "GET",
168168
async: this.asyncAjax,
169169
url: (this.proxyUrl !== null && !this.visualforce) ? this.proxyUrl : url,
@@ -400,7 +400,7 @@ if (forcetk.Client === undefined) {
400400
// Handle proxied query params correctly
401401
if (this.proxyUrl && payload) {
402402
if (typeof payload !== 'string') {
403-
payload = $.param(payload);
403+
payload = jQuery.param(payload);
404404
}
405405
url += "?" + payload;
406406
payload = null;
@@ -412,7 +412,7 @@ if (forcetk.Client === undefined) {
412412
}
413413
}
414414

415-
return $.ajax({
415+
return jQuery.ajax({
416416
type: method,
417417
async: this.asyncAjax,
418418
url: this.proxyUrl || url,

0 commit comments

Comments
 (0)