acrolinx-sidebar-sdk
Advanced tools
Comparing version 0.4.8 to 0.4.9
@@ -54,8 +54,11 @@ "use strict"; | ||
var tmp = range.cloneRange(); | ||
tmp.collapse(false); | ||
tmp.collapse(true); | ||
var text = document.createElement('span'); | ||
tmp.insertNode(text); | ||
sel.removeAllRanges(); | ||
sel.addRange(range); | ||
text.focus(); | ||
text.scrollIntoView(); | ||
this.scrollElementIntoView(text); | ||
text.remove(); | ||
utils_1.removeNode(text); | ||
removeEmptyTextNodesIfNeeded(tmp); | ||
@@ -62,0 +65,0 @@ }; |
{ | ||
"name": "acrolinx-sidebar-sdk", | ||
"description": "Acrolinx Sidebar SDK for JavaScript", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"license": "Apache-2.0", | ||
@@ -68,5 +68,6 @@ "author": "Acrolinx", | ||
"minify": "uglifyjs dist/acrolinx-sidebar-sdk.js -o dist/acrolinx-sidebar-sdk.min.js", | ||
"test": "npm run testKarmaPhantomJS", | ||
"test": "npm run testKarmaChromeHeadless", | ||
"testKarmaPhantomJS": "karma start test/karma.conf.js --browsers PhantomJS", | ||
"testKarmaChrome": "karma start test/karma.conf.js --browsers Chrome", | ||
"testKarmaChromeHeadless": "karma start test/karma.conf.js --browsers ChromeHeadless", | ||
"testKarmaBs": "karma start test/karma.conf.js --browsers bs_edge_win,bs_chrome_win,bs_firefox_win,bs_firefox_est_win,bs_safari_macos", | ||
@@ -73,0 +74,0 @@ "tsc": "tsc", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2308384
54378