File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 136
136
137
137
if ( this . isXDomain ( ) ) {
138
138
var insertAt = document . getElementsByTagName ( 'script' ) [ 0 ]
139
- , script = document . createElement ( 'SCRIPT ' ) ;
139
+ , script = document . createElement ( 'script ' ) ;
140
140
141
141
script . src = url + '&jsonp=' + io . j . length ;
142
142
insertAt . parentNode . insertBefore ( script , insertAt ) ;
Original file line number Diff line number Diff line change 68
68
) ;
69
69
70
70
if ( ! this . form ) {
71
- var form = document . createElement ( 'FORM ' )
72
- , area = document . createElement ( 'TEXTAREA ' )
71
+ var form = document . createElement ( 'form ' )
72
+ , area = document . createElement ( 'textarea ' )
73
73
, id = this . iframeId = 'socketio_iframe_' + this . index
74
74
, iframe ;
75
75
144
144
145
145
JSONPPolling . prototype . get = function ( ) {
146
146
var self = this
147
- , script = document . createElement ( 'SCRIPT ' )
147
+ , script = document . createElement ( 'script ' )
148
148
, query = io . util . query (
149
149
this . socket . options . query
150
150
, 't=' + ( + new Date ) + '&i=' + this . index
You can’t perform that action at this time.
0 commit comments