Permalink
Browse files

update code style

  • Loading branch information...
1 parent c437a76 commit c9d672356f9f75b1fb9d249b36b0aadd97a2ef22 @bartsidee bartsidee committed Jan 30, 2013
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) {

0 comments on commit c9d6723

Please sign in to comment.