Skip to content

Commit 932b1bd

Browse files
committed
Refactor to reorder properties
1 parent 268812d commit 932b1bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/handlers/link.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ var resolve = require('../util/resolve')
77

88
function link(h, node) {
99
var props = {
10-
url: resolve(h, node.properties.href),
11-
title: node.properties.title || null
10+
title: node.properties.title || null,
11+
url: resolve(h, node.properties.href)
1212
}
1313

1414
return h(node, 'link', props, all(h, node))

0 commit comments

Comments
 (0)