code: function (node) {
                  var sc = node;
                  var so = 0;
                  var ec = node;
                  var eo = dom.nodeLength(ec);
  
                  // browsers can't target a picture or void node
                  if (dom.isVoid(sc)) {
                      so = dom.listPrev(sc).length - 1;
                      sc = sc.parentNode;
                  }
                  if (dom.isBR(ec)) {
                      eo = dom.listPrev(ec).length - 1;
                      ec = ec.parentNode;
                  } else if (dom.isVoid(ec)) {
                      eo = dom.listPrev(ec).length;
                      ec = ec.parentNode;
                  }
  
                  return this.create(sc, so, ec, eo);
              }
docs: @method
  
  create WrappedRange from node
  
  @param {Node} node
  @return {WrappedRange}