File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function toMdast(tree, options) {
1515
1616 h . nodeById = byId
1717 h . baseFound = false
18- h . frozenBaseURL = null
18+ h . frozenBaseUrl = null
1919
2020 h . handlers = xtend ( handlers , settings . handlers || { } )
2121 h . augment = augment
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module.exports = base
44
55function base ( h , node ) {
66 if ( ! h . baseFound ) {
7- h . frozenBaseURL = node . properties . href || null
7+ h . frozenBaseUrl = node . properties . href || null
88 h . baseFound = true
99 }
1010}
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ function resolve(h, url) {
88 }
99
1010 /* istanbul ignore next - ignored for older Node */
11- if ( h . frozenBaseURL && typeof URL !== 'undefined' ) {
12- return String ( new URL ( url , h . frozenBaseURL ) )
11+ if ( h . frozenBaseUrl && typeof URL !== 'undefined' ) {
12+ return String ( new URL ( url , h . frozenBaseUrl ) )
1313 }
1414
1515 return url
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ a streak of white-space in a text node contains a newline.
8989
9090##### Returns
9191
92- [ ` MDASTNode ` ] [ mdast-node ] .
92+ [ ` MdastNode ` ] [ mdast-node ] .
9393
9494##### Notes
9595
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ test('fixtures', function(t) {
111111 config = JSON . parse ( config )
112112 }
113113
114- var fromHTML = unified ( )
114+ var fromHtml = unified ( )
115115 . use ( html )
116116 . use ( function ( ) {
117117 return transformer
@@ -121,7 +121,7 @@ test('fixtures', function(t) {
121121 } )
122122 . use ( stringify )
123123
124- var tree = remove ( fromHTML . runSync ( fromHTML . parse ( input ) ) , true )
124+ var tree = remove ( fromHtml . runSync ( fromHtml . parse ( input ) ) , true )
125125
126126 // Replace middots with spaces (useful for break nodes).
127127 output = output . replace ( / · / g, ' ' )
You can’t perform that action at this time.
0 commit comments