From cde65d93a9ef6c9e466b5c5eecc9d3b68187429c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 4 Mar 2015 18:34:56 -0800 Subject: [PATCH] README: hyperlink Range references to MDN docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50107f7..b776693 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Returns the path through the DOM tree from the `` element to the current c ### getSelection -Returns a W3C Range object representing the current selection/cursor position. +Returns a [W3C Range object](https://developer.mozilla.org/en-US/docs/Web/API/Range) representing the current selection/cursor position. ### setSelection @@ -150,7 +150,7 @@ Changes the current selection/cursor position. The method takes one argument: -* **range**: The W3C Range object representing the desired selection. +* **range**: The [W3C Range object](https://developer.mozilla.org/en-US/docs/Web/API/Range) representing the desired selection. Returns self (the Squire instance).