digirati-annotation-redux
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -142,2 +142,5 @@ import _regeneratorRuntime from 'babel-runtime/regenerator'; | ||
AnnotationSelector.parse = function parse(text) { | ||
if (!text) { | ||
return null; | ||
} | ||
if (text.id) { | ||
@@ -144,0 +147,0 @@ return new AnnotationSelector(text.id, text.format, text.language, text.processingLanguage, text.textDirection); |
@@ -272,2 +272,5 @@ 'use strict'; | ||
AnnotationSelector.parse = function parse(text) { | ||
if (!text) { | ||
return null; | ||
} | ||
if (text.id) { | ||
@@ -274,0 +277,0 @@ return new AnnotationSelector(text.id, text.format, text.language, text.processingLanguage, text.textDirection); |
{ | ||
"name": "digirati-annotation-redux", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Describe annotation-redux here", | ||
@@ -5,0 +5,0 @@ "main": "es/index.js", |
90470
2378