File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ exports.isDefined = function (value) {
123123
124124exports . parseQueryParams = function ( locationSearch ) {
125125 var params = { }
126- var pairs = locationSearch . substr ( 1 ) . split ( '&' )
126+ var pairs = locationSearch . slice ( 1 ) . split ( '&' )
127127 var keyValue
128128
129129 for ( var i = 0 ; i < pairs . length ; i ++ ) {
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ var socket = io(location.host, {
348348 reconnectionDelay : 500 ,
349349 reconnectionDelayMax : Infinity ,
350350 timeout : BROWSER_SOCKET_TIMEOUT ,
351- path : KARMA_PROXY_PATH + KARMA_URL_ROOT . substr ( 1 ) + 'socket.io' ,
351+ path : KARMA_PROXY_PATH + KARMA_URL_ROOT . slice ( 1 ) + 'socket.io' ,
352352 'sync disconnect on unload' : true ,
353353 useNativeTimers : true
354354} )
@@ -565,7 +565,7 @@ exports.isDefined = function (value) {
565565
566566exports . parseQueryParams = function ( locationSearch ) {
567567 var params = { }
568- var pairs = locationSearch . substr ( 1 ) . split ( '&' )
568+ var pairs = locationSearch . slice ( 1 ) . split ( '&' )
569569 var keyValue
570570
571571 for ( var i = 0 ; i < pairs . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments