We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c875bda commit c76daedCopy full SHA for c76daed
1 file changed
jQuery-free/server.js
@@ -55,7 +55,7 @@
55
56
opts.jsonpCallback = opts.jsonpCallback || 'callback';
57
58
- var callbackName = 'jsonp_' + Math.random().toString().split('.')[1];
+ var callbackName = 'jsonp_' + Math.ceil((Math.random() * 1E12));
59
60
opts.data[opts.jsonpCallback] = callbackName;
61
0 commit comments