We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 945da67 + 1027a65 commit 76b19baCopy full SHA for 76b19ba
demo/js/qiniu.js
@@ -223,7 +223,7 @@ function QiniuJsSDK() {
223
};
224
225
this.trim = function(text) {
226
- return text === null ? "" : this.trim.call(text);
+ return text === null ? "" : text.replace(/^\s+|\s+$/g, '');
227
228
229
//Todo ie7 handler / this.parseJSON bug;
src/qiniu.js
0 commit comments