 TEXT_NODE = 3
 
 
-exports.splitBoundaries = splitBoundaries = (range) ->
+splitBoundaries = (range) ->
   {startContainer, startOffset, endContainer, endOffset} = range
 
   if isTextNode(endContainer)

    return textNodes[start..end]

# Public: A range suitable for storing in local storage or serializing to JSON.
exports.SerializedRange = class SerializedRange

  # Public: Creates a SerializedRange
  #

  while node? and not contains(node, other)
    node = node.parentNode
  return node


# Export the public module interface.
module.exports = {
  BrowserRange
  NormalizedRange
  SerializedRange
  splitBoundaries
}
