From 8c5799f01bce4202a3d9982d725ee89e5ae9f0da Mon Sep 17 00:00:00 2001 From: WonSikin Date: Fri, 16 Mar 2018 09:57:29 +0800 Subject: [PATCH 1/2] chore: fix eslint warning --- .eslintignore | 1 + index.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index 384cd66..1c7d503 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,3 +4,4 @@ Example/android/ ios/ Example/ios/ screenShoots/ +Example diff --git a/index.js b/index.js index 7e8c563..fff2c1e 100644 --- a/index.js +++ b/index.js @@ -171,8 +171,8 @@ export default class Barcode extends PureComponent { - if (typeof(this.props.text) != "undefined") { - {this.props.text} + if (typeof(this.props.text) != 'undefined') { + {this.props.text} } ); From d95d408abfc30039379a357efc0aa5681d5f60a4 Mon Sep 17 00:00:00 2001 From: WonSikin Date: Fri, 16 Mar 2018 09:58:27 +0800 Subject: [PATCH 2/2] chore: update version to v1.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d2cbfc4..fe7a5da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-barcode-builder", - "version": "1.0.3", + "version": "1.0.4", "description": "", "repository": { "type": "git",