Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update code style

  • Loading branch information...
commit c9d672356f9f75b1fb9d249b36b0aadd97a2ef22 1 parent c437a76
@bartsidee bartsidee authored
Showing with 9 additions and 7 deletions.
  1. +9 −7 src/reqwest.js
View
16 src/reqwest.js
@@ -133,13 +133,15 @@
// Enable JSONP timeout
- return {abort: function(){
- script.onload = script.onreadystatechange = null
- o.error && o.error({}, 'Request is aborted: timeout', {})
- lastValue = undefined
- head.removeChild(script)
- loaded = 1
- }}
+ return {
+ abort: function () {
+ script.onload = script.onreadystatechange = null
+ o.error && o.error({}, 'Request is aborted: timeout', {})
+ lastValue = undefined
+ head.removeChild(script)
+ loaded = 1
+ }
+ }
}
function getRequest(o, fn, err) {
Please sign in to comment.
Something went wrong with that request. Please try again.