Commit 4ce5d814 authored by Sean Roberts's avatar Sean Roberts

Moving dom-wrap-highlighter module

parent d451b587
$ = require('jquery') $ = require('jquery')
# Public: Wraps the DOM Nodes within the provided range with a highlight # Public: Wraps the DOM Nodes within the provided range with a highlight
# element of the specified class and returns the highlight Elements. # element of the specified class and returns the highlight Elements.
# #
......
Range = require('../anchoring/range') Range = require('../../anchoring/range')
$ = require('jquery') $ = require('jquery')
highlighter = require('../highlighter') highlighter = require('./index')
describe "highlightRange", -> describe "highlightRange", ->
it 'wraps a highlight span around the given range', -> it 'wraps a highlight span around the given range', ->
......
'use strict';
const domWrapHighlighter = require('./dom-wrap-highlighter');
// this is where were will determine what highlighter
// to use based on the environment and any flags
module.exports = domWrapHighlighter;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment