pass type checking
Merge pull request #28 from hajimehoshi/pass-checkers

Pass type checking
nodes: have setUpEffectiveNodes return null in some cases
Merge pull request #30 from hajimehoshi/add-junk-to-effective-nodes

nodes: have setUpEffectiveNodes return null in some cases
createLink: Change handling of caret case.
unlink: Adopt |unlinkCommand| for chaning of return value of |editing.nodes.setUpEffectiveNodes()|.
editing: Make |editing.nodes.setUpEffectiveNodes| to work with
 - caret selection
 - not split tree for non-phraseing node, e.g. <p>foo^bar|</p>
 - do not include nodes before selection start node except for ancestors.
editing: Make |EditingContext.prototype.splitNode(element, refChild)| and |splitNodeLeft(element, refChild)| not to copy "name" attribute for A element.
Revert "editing: Make |EditingContext.prototype.splitNode(element, refChild)| and |splitNodeLeft(element, refChild)| not to copy "name" attribute for A element."

This reverts commit 815e7a1b95cd6798beed2d89da0157555d344e08.
Revert "Revert "editing: Make |EditingContext.prototype.splitNode(element, refChild)| and |splitNodeLeft(element, refChild)| not to copy "name" attribute for A element.""

This reverts commit 40cc3209385afd333a6b6739146038c07b4c83c3.
editing: Make |editing.nodes.setUpEffectiveNodes()| to return all ancestors rather than selected nodes only.
createLink: Utilize |editing.nodes.setUpEffectiveNodes()|.
[editing] Make |EditingContext.prototype.splitNode| and |EditingContext.prototype.splitNodeLeft| to copy "name" attribute of "A" element for Chrome compatibility.
nodes: Revise start node splitting in |editing.nodes.setUpEffectiveNodes()|.
This patch is a preparation of fixing "createLink" command.
createLink: Utilize "editing.nodes.setUpEffectiveNodes()| into "createLink" command.
Fixes #33.
createLink: Move phrasing elements in anchor element to outside of anchor lement.
This patch fixes: createLink.Range.42.1, createLink.w3c.45, and createLink.w3c.45r.
|editing.nodes.setUpEffectiveNodes()| to split right tree.
createLink: Unwrap starting anchor element.
This patch fixes createLink.Range.42.2, createLink.42.3, createLink.w3c.44 and createLink.w3c.44r.
createLink: Fix wrong comments.
Revert "createLink: Fix wrong comments."

This reverts commit 603b9c9bd7cf81d59b7fc593d903c072792b19e5.