Skip to content

Commit

Permalink
Bump to 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed May 10, 2019
1 parent df9c027 commit 010675d
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 32 deletions.
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ dart: dev

jobs:
include:
- stage: analyze
script: dartanalyzer --fatal-warnings .
- stage: analyze
script: dartfmt --dry-run --set-exit-if-changed .
- stage: unit_test
script: pub run test test/all_test.dart --platform vm
- stage: unit_test
script: pub run test test/all_test.dart --platform chrome
- stage: coverage
script:
- pub global activate dart_coveralls
- dart_coveralls report test/all_test.dart
- stage: analyze
script: dartanalyzer --fatal-warnings .
- stage: analyze
script: dartfmt --dry-run --set-exit-if-changed .
- stage: unit_test
script: pub run test test/all_test.dart --platform vm
- stage: unit_test
script: pub run test test/all_test.dart --platform chrome
- stage: coverage
script:
- pub global activate dart_coveralls
- dart_coveralls report test/all_test.dart
stages:
- analyze
- unit_test
Expand All @@ -23,5 +23,5 @@ stages:
sudo: required
cache:
directories:
- $HOME/.pub-cache
- .dart_tool/build
- $HOME/.pub-cache
- .dart_tool/build
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.6.0

* Dart 2.3 compatibility and requirement.

## 1.5.0

* Dart 2.2 compatibility and requirement.
Expand Down
7 changes: 6 additions & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ This package contains examples to illustrate the use of [StateMachine](https://g

### Custom Tooltip

To run the tooltip example execute `webdev serve` from the root directory of this package and point your browser to [localhost:8081/tooltip/example.html](http://localhost:8081/tooltip/example.html)
To run the tooltip example execute the following commands from the command line and navigate to http://localhost:8080/tooltip/example.html:

```bash
pub global activate webdev
webdev serve
```

### Traffic Lights

Expand Down
34 changes: 20 additions & 14 deletions example/tooltip/example.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<title>Tooltip</title>
<style>
<head>
<title>Tooltip</title>
<style>
.tooltip {
position: absolute;
z-index: 10;
Expand Down Expand Up @@ -49,16 +49,22 @@
visibility: visible;
opacity: 1;
}
</style>
<script defer src="example.dart.js"></script>
</head>

<body>
<h1>Tooltip</h1>
<div>
<button id="button_1" data-tooltip="Helpful message for button 1.">1</button>
<button id="button_2" data-tooltip="What a nice button with an even number.">2</button>
<button id="button_3" data-tooltip="Gorgeous help messages make users happy.">3</button>
</div>
</body>
</style>
<script src="example.dart.js"></script>
</head>

<body>
<h1>Tooltip</h1>
<div>
<button id="button_1" data-tooltip="Helpful message for button 1.">1
</button>
<button id="button_2"
data-tooltip="What a nice button with an even number.">2
</button>
<button id="button_3"
data-tooltip="Gorgeous help messages make users happy.">3
</button>
</div>
</body>
</html>
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: statemachine
version: 1.5.0
version: 1.6.0

author: Lukas Renggli <renggli@gmail.com>
homepage: https://github.com/renggli/dart-statemachine
Expand All @@ -10,5 +10,5 @@ environment:
sdk: '>=2.3.0 <3.0.0'
dev_dependencies:
test: ^1.6.0
build_runner: ^1.3.0
build_web_compilers: ^1.2.0
build_runner: ^1.4.0
build_web_compilers: ^2.0.0

0 comments on commit 010675d

Please sign in to comment.