Skip to content

Commit 01b0404

Browse files
committed
typo
1 parent bda0150 commit 01b0404

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/webpagetest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var http = require('http'),
1616

1717
var reSpace = /\s/,
1818
reConnectivity = /^(?:DSL|FIOS|Dial|custom)$/,
19-
reHTMLOtput = /<h\d[^<]*>([^<]+)<\/h\d>/; // for H3 on cancelTest.php
19+
reHTMLOutput = /<h\d[^<]*>([^<]+)<\/h\d>/; // for H3 on cancelTest.php
2020

2121
var paths = {
2222
testStatus: 'testStatus.php',
@@ -158,7 +158,7 @@ function api(pathname, callback, query, options) {
158158
} else if (info.type === 'text/xml') {
159159
data = helper.xmlToObj(data);
160160
} else if (info.type === 'text/html') {
161-
data = {result: (reHTMLOtput.exec(data) || [])[1]};
161+
data = {result: (reHTMLOutput.exec(data) || [])[1]};
162162
}
163163
}
164164
} catch (ex) {

0 commit comments

Comments
 (0)