Fix chibi.js not working without extend

cpsdqs/unified-input
cpsdqs 7 years ago
parent 2b9258a587
commit e923fa1746
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 2
      jssrc/lib/chibi.js

@ -575,7 +575,7 @@
// Basic XHR // Basic XHR
chibi.ajax = function (options) { // if options is a number, it's timeout in ms chibi.ajax = function (options) { // if options is a number, it's timeout in ms
var opts = extend({ var opts = Object.assign({
method: 'GET', method: 'GET',
nocache: true, nocache: true,
timeout: 5000, timeout: 5000,

Loading…
Cancel
Save