Skip to content

Commit 6614fa9

Browse files
committed
Merge pull request #50 from shonenada/fix/$
replace $
2 parents 8b6030e + 4ae7c2e commit 6614fa9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

demo/js/qiniu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ function QiniuJsSDK() {
328328
var auto_start = up.getOption && up.getOption('auto_start');
329329
auto_start = auto_start || (up.settings && up.settings.auto_start);
330330
if (auto_start) {
331-
$.each(files, function(i, file) {
331+
plupload.each(files, function(i, file) {
332332
up.start();
333333
});
334334
}
@@ -398,7 +398,7 @@ function QiniuJsSDK() {
398398
blockSize = file.size - localFileInfo.offset;
399399
}
400400
} else {
401-
// 删除localStorage,避免 499 bug
401+
// 进度100%时,删除对应的localStorage,避免 499 bug
402402
localStorage.removeItem(file.name);
403403
}
404404
} else {

src/qiniu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ function QiniuJsSDK() {
328328
var auto_start = up.getOption && up.getOption('auto_start');
329329
auto_start = auto_start || (up.settings && up.settings.auto_start);
330330
if (auto_start) {
331-
$.each(files, function(i, file) {
331+
plupload.each(files, function(i, file) {
332332
up.start();
333333
});
334334
}

0 commit comments

Comments
 (0)