Skip to content

Commit

Permalink
Update for changes in [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 14, 2016
1 parent ec06782 commit 3910d2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function gatherReferences(file, project) {
*
* @example
* link({
* href: 'foo/bar/baz.md#foo',
* url: 'foo/bar/baz.md#foo',
* children: [
* {
* type: 'text',
Expand All @@ -151,7 +151,7 @@ function gatherReferences(file, project) {
* @param {Node} node - Link or link-reference node.
*/
function onlink(node) {
var link = node.href;
var link = node.url;
var definition;
var index;
var uri;
Expand All @@ -164,7 +164,7 @@ function gatherReferences(file, project) {

if (node.identifier) {
definition = getDefinition(node.identifier);
link = definition && definition.link;
link = definition && definition.url;
}

/*
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"dependencies": {
"github-url-to-object": "^2.1.0",
"remark-slug": "^4.0.0",
"remark-slug": "^4.1.0",
"mdast-util-definitions": "^1.0.0",
"unist-util-visit": "^1.0.0",
"propose": "0.0.5",
Expand All @@ -34,11 +34,11 @@
"istanbul": "^0.4.0",
"jscs": "^2.0.0",
"jscs-jsdoc": "^1.0.0",
"remark": "^3.0.0",
"remark-comment-config": "^2.0.0",
"remark-github": "^4.0.0",
"remark-lint": "^2.0.0",
"remark-toc": "^2.0.0",
"remark": "^4.0.0-alpha.1",
"remark-comment-config": "^3.0.0",
"remark-github": "^4.0.1",
"remark-lint": "^3.0.0",
"remark-toc": "^3.0.0",
"tape": "^4.0.0"
},
"scripts": {
Expand Down

0 comments on commit 3910d2f

Please sign in to comment.