Comparing version 1.0.2 to 1.0.7
@@ -204,4 +204,4 @@ /** | ||
if (!options.block_options.length){ | ||
return [this.getSourceName(options.current_source)]; | ||
if (!options.block_options || !options.block_options.length){ | ||
return [this.getSourceName(options.current_source || this.application.current_source)]; | ||
} | ||
@@ -208,0 +208,0 @@ |
{ | ||
"name": "tml-js", | ||
"description": "Translation Markup Language for JavaScript", | ||
"version": "1.0.2", | ||
"version": "1.0.7", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Michael Berkovich", |
@@ -13,2 +13,4 @@ <p align="center"> | ||
[![NPM](https://nodei.co/npm/tml-js.png?downloads=true)](https://nodei.co/npm/tml-js) | ||
This library provides the core JavaScript classes for the Translation Markup Language. | ||
@@ -26,2 +28,4 @@ | ||
* Watch our demo videos on YouTube: https://www.youtube.com/channel/UC7gLEbvNO1IKPv5dxwzR3Iw | ||
* If you have any questions or suggestions, contact us: support@translationexchange.com | ||
@@ -28,0 +32,0 @@ |
299743
55