@cocreate/selection 1.4.12 → 1.4.13

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.4.13](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.12...v1.4.13) (2022-07-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * removed console.log ([d9cee14](https://github.com/CoCreate-app/CoCreate-selection/commit/d9cee14952326f2edf94594bf2a2be04e1ff2227))
7
+
1
8
  ## [1.4.12](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.11...v1.4.12) (2022-06-18)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/selection",
3
- "version": "1.4.12",
3
+ "version": "1.4.13",
4
4
  "description": "A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "selection",
package/src/index.js CHANGED
@@ -304,7 +304,7 @@ export function getStringPosition({string, target, position, attribute, property
304
304
  else
305
305
  element = dom.querySelector(selector);
306
306
  if (!element){
307
- console.log('element could not be found using selector:', selector);
307
+ // console.log('element could not be found using selector:', selector);
308
308
  return;
309
309
  }
310
310
  let start = 0, end = 0;