Skip to content

Commit 26285e4

Browse files
committed
Fix the whitespacing to be more inline with the rest of the forcetk toolkit.
Signed-off-by: Paul Roth <paulroth3d@gmail.com>
1 parent 5a4f31b commit 26285e4

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

forcetk.js

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -442,18 +442,17 @@ if (forcetk.Client === undefined) {
442442
* @param [error=null] function to which jqXHR will be passed in case of error
443443
*/
444444
forcetk.Client.prototype.queryMore = function( url, callback, error ){
445-
446-
//-- ajax call adds on services/data to the url call, so only send the url after
447-
var serviceData = "services/data";
448-
var index = url.indexOf( serviceData );
449-
450-
if( index > -1 ){
451-
url = url.substr( index + serviceData.length );
452-
} else {
453-
//-- leave alone
454-
}
455-
456-
this.ajax( url, callback, error );
445+
//-- ajax call adds on services/data to the url call, so only send the url after
446+
var serviceData = "services/data";
447+
var index = url.indexOf( serviceData );
448+
449+
if( index > -1 ){
450+
url = url.substr( index + serviceData.length );
451+
} else {
452+
//-- leave alone
453+
}
454+
455+
this.ajax( url, callback, error );
457456
}
458457

459458
/*

0 commit comments

Comments
 (0)