From b13ac33e6abb9b53a9885edab07fe5d9b714436f Mon Sep 17 00:00:00 2001 From: 15915940450 <15915940450@139.com> Date: Mon, 15 Apr 2019 16:30:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=84=85=E9=99=90=E5=88=B6=E4=B8=8A=E5=82=B3?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=B8=BD=E6=95=B8=E5=8F=83=E6=95=B8=E8=A8=AD?= =?UTF-8?q?=E7=BD=AE=E7=82=BA0=EF=BC=8C=E8=A1=A8=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E4=B8=8A=E5=82=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ dist/webuploader.js | 4 ++-- webuploader.sublime-project | 8 ++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 webuploader.sublime-project diff --git a/.gitignore b/.gitignore index 490f5453f..d7aa2ced1 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ server/* /.grunt /jekyll/_site/ /dist/*.zip + +*.sublime-workspace \ No newline at end of file diff --git a/dist/webuploader.js b/dist/webuploader.js index 9a81e1a92..fbd478c24 100644 --- a/dist/webuploader.js +++ b/dist/webuploader.js @@ -1,4 +1,4 @@ -/*! WebUploader 0.1.8-alpha */ +/*! WebUploader 0.1.8-alpha */ /** @@ -4283,7 +4283,7 @@ max = parseInt( opts.fileNumLimit, 10 ), flag = true; - if ( !max ) { + if ( !max && max!==0) { return; } diff --git a/webuploader.sublime-project b/webuploader.sublime-project new file mode 100644 index 000000000..24db30311 --- /dev/null +++ b/webuploader.sublime-project @@ -0,0 +1,8 @@ +{ + "folders": + [ + { + "path": "." + } + ] +}