babel-gettext-extractor
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -122,6 +122,9 @@ 'use strict'; | ||
var translatorComment = getTranslatorComment(parent); | ||
var translatorComment = getTranslatorComment(node); | ||
if (!translatorComment) { | ||
translatorComment = relocatedComments[ | ||
node.start + '|' + node.end]; | ||
translatorComment = getTranslatorComment(parent); | ||
if (!translatorComment) { | ||
translatorComment = relocatedComments[ | ||
node.start + '|' + node.end]; | ||
} | ||
} | ||
@@ -128,0 +131,0 @@ |
{ | ||
"name": "babel-gettext-extractor", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": " Extract gettext string with babel", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15817
192