Skip to content

Commit 1ca4be3

Browse files
committed
Updated dist
1 parent b1e10ad commit 1ca4be3

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

dist/av-core-mini.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/av-core.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9110,11 +9110,12 @@
91109110
* @param {String} id 任务 id
91119111
* @since 0.5.5
91129112
*/
9113-
AV.BigQuery.JobQuery = function(id) {
9113+
AV.BigQuery.JobQuery = function(id, className) {
91149114
if(!id) {
91159115
throw 'Please provide the job id.';
91169116
}
91179117
this.id = id;
9118+
this.className = className;
91189119
this._skip = 0;
91199120
this._limit = 100;
91209121
};
@@ -9166,14 +9167,13 @@
91669167

91679168
var request = AV._request("bigquery", 'jobs', this.id, "GET",
91689169
params);
9170+
var self = this;
91699171
return request.then(function(response) {
9170-
delete response.nextAnchor;
91719172
if(response.error) {
91729173
return AV.Promise.error(new AV.Error(response.code, response.error));
91739174
}
9174-
return response;
9175+
return AV.Promise.as(response);
91759176
})._thenRunCallbacks(options);
9176-
91779177
}
91789178

91799179
};

dist/av-mini.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/av.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9110,11 +9110,12 @@
91109110
* @param {String} id 任务 id
91119111
* @since 0.5.5
91129112
*/
9113-
AV.BigQuery.JobQuery = function(id) {
9113+
AV.BigQuery.JobQuery = function(id, className) {
91149114
if(!id) {
91159115
throw 'Please provide the job id.';
91169116
}
91179117
this.id = id;
9118+
this.className = className;
91189119
this._skip = 0;
91199120
this._limit = 100;
91209121
};
@@ -9166,14 +9167,13 @@
91669167

91679168
var request = AV._request("bigquery", 'jobs', this.id, "GET",
91689169
params);
9170+
var self = this;
91699171
return request.then(function(response) {
9170-
delete response.nextAnchor;
91719172
if(response.error) {
91729173
return AV.Promise.error(new AV.Error(response.code, response.error));
91739174
}
9174-
return response;
9175+
return AV.Promise.as(response);
91759176
})._thenRunCallbacks(options);
9176-
91779177
}
91789178

91799179
};

0 commit comments

Comments
 (0)