diff --git a/packages/dash-html-components/CHANGELOG.md b/packages/dash-html-components/CHANGELOG.md index 15da1be1eb..52b616a3e6 100644 --- a/packages/dash-html-components/CHANGELOG.md +++ b/packages/dash-html-components/CHANGELOG.md @@ -20,7 +20,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - [#110](https://github.com/plotly/dash-html-components/pull/110), [#111](https://github.com/plotly/dash-html-components/pull/111) Improved the property definitions in advance of the Dev Tools property validation. In particular: - Boolean properties like `hidden` accept a bool or a case insensitive string with the same name (e.g. `'hidden'` or `'HIDDEN'`) - - Numeric properties like `rows`, `max`, `min` allow a stringified number or a number + - Numeric properties like `rows`, `max`, `min` allow a stringified number or a number ### Added - Added `formNoValidate` & `inputMode` properties. diff --git a/packages/dash-html-components/README.md b/packages/dash-html-components/README.md index 6d36026e75..54d24d19ef 100644 --- a/packages/dash-html-components/README.md +++ b/packages/dash-html-components/README.md @@ -9,7 +9,7 @@ Vanilla HTML components for [Dash][] $ virtualenv venv $ venv/bin/activate ``` - _Note: venv\Scripts\activate for windows_ + _Note: venv\Scripts\activate for Windows_ 2. Install Python packages required to build components. ``` @@ -51,7 +51,7 @@ _Note: This step will have already been done for you when you ran `npm install`_ # Now you're done. For subsequent changes, if you've got `npm run build:watch` $ python setup.py install -3. Run the dash layout you want to test +3. Run the Dash layout you want to test # Import dash_html_components to your layout, then run it: $ python my_dash_layout.py diff --git a/packages/dash-html-components/tests/IntegrationTests.py b/packages/dash-html-components/tests/IntegrationTests.py index 9ddc6542f7..bbcbacf32b 100644 --- a/packages/dash-html-components/tests/IntegrationTests.py +++ b/packages/dash-html-components/tests/IntegrationTests.py @@ -56,7 +56,7 @@ def run(): s.server_process.start() time.sleep(0.5) - # Visit the dash page + # Visit the Dash page s.driver.get('http://localhost:8050') time.sleep(0.5) diff --git a/packages/dash-html-components/tests/test_integration.py b/packages/dash-html-components/tests/test_integration.py index 64aae5c73b..d259520dad 100644 --- a/packages/dash-html-components/tests/test_integration.py +++ b/packages/dash-html-components/tests/test_integration.py @@ -127,10 +127,10 @@ def update_output(*args): time.sleep(2) self.wait_for_text_to_equal('#container', '1, 0') print(timestamp_1.value) - print((time.time() - (24 * 60 * 60)) * 1000) + print((time.time() - (24 * 60 * 60)) * 1000) self.assertTrue( timestamp_1.value > - ((time.time() - (24 * 60 * 60)) * 1000)) + ((time.time() - (24 * 60 * 60)) * 1000)) self.assertEqual(timestamp_2.value, -1) self.assertEqual(call_count.value, 2) self.snapshot('button-1 click') @@ -142,7 +142,7 @@ def update_output(*args): self.assertEqual(timestamp_1.value, prev_timestamp_1) self.assertTrue( timestamp_2.value > - ((time.time() - 24 * 60 * 60) * 1000)) + ((time.time() - 24 * 60 * 60) * 1000)) self.assertEqual(call_count.value, 3) self.snapshot('button-2 click') prev_timestamp_2 = timestamp_2.value