Skip to content

Commit

Permalink
### 3.6.4 (2018-02-05)
Browse files Browse the repository at this point in the history
* (bluefox) Pattern error is fixed
  • Loading branch information
GermanBluefox committed Feb 4, 2018
1 parent 1b3c1d9 commit d28b8a8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Hier kann man die Beschreibung von [Blockly](doc/de/blockly.md) finden.
Описание по [blockly](doc/ru/blockly.md) можно найти [здесь](doc/ru/blockl.md).

## Changelog
### 3.6.4 (2018-02-05)
* (bluefox) Pattern error is fixed

### 3.6.3 (2018-01-31)
* (bluefox) Fixing the CSS for CRON dialog
* (bluefox) Fixing the reorder of scripts
Expand Down
13 changes: 12 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"common": {
"name": "javascript",
"version": "3.6.3",
"version": "3.6.4",
"title": "Script Engine",
"titleLang": {
"en": "Script Engine",
Expand All @@ -20,6 +20,17 @@
"Apollon77 <[email protected]>"
],
"news": {
"3.6.4": {
"en": "Pattern error is fixed",
"de": "Musterfehler ist behoben",
"ru": "Исправлена ​​ошибка проверки событий",
"pt": "O erro de padrão é corrigido",
"nl": "Patroonfout is opgelost",
"fr": "L'erreur de modèle est fixe",
"it": "L'errore di modello è stato risolto",
"es": "Se solucionó el error de patrón",
"pl": "Błąd wzorca został naprawiony"
},
"3.6.3": {
"en": "Fixing the CSS for CRON dialog\nFixing the reorder of scripts",
"de": "Korrigieren des CSS für den CRON-Dialog\nReparieren von Skripten",
Expand Down
5 changes: 5 additions & 0 deletions lib/patternCompareFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ var patternCompareFunctions = {
if (isRegExp(penumName)) {
return function (event) {
if (event.enumNames) {
if (!(event.enumNames instanceof Array)) {
console.error('Invalid type of enumNames: ' + (typeof event.enumNames) + ' ' + JSON.stringify(event.enumNames));
return false;
}

for (var j = 0; j < event.enumNames.length; j++) {
if (penumName.test(event.enumNames[j])) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.javascript",
"version": "3.6.3",
"version": "3.6.4",
"description": "Javascript/Coffescript Script Engine for ioBroker",
"author": "bluefox <[email protected]>",
"contributors": [
Expand Down

0 comments on commit d28b8a8

Please sign in to comment.