From d91e29c9b54e6fcb71407a1ca44ded10d8a4273c Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Thu, 17 Dec 2015 14:09:25 -0500 Subject: [PATCH] remove window --- src/selection/selection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selection/selection.js b/src/selection/selection.js index 537d2be..6ee74eb 100644 --- a/src/selection/selection.js +++ b/src/selection/selection.js @@ -100,7 +100,7 @@ /** @scope wysihtml5.Selection.prototype */ { constructor: function(editor, contain, unselectableClass) { // Make sure that our external range library is initialized - window.rangy.init(); + rangy.init(); this.editor = editor; this.composer = editor.composer;