Fix insecure URL in readme (#27)
also Remove unneeded `new` in readme
diff --git a/README.md b/README.md
index 8f636a6..4d5ef7a 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
example, the [`test`][test] package uses boolean selectors to allow users to
define what platforms their tests support.
-[test]: http://github.com/dart-lang/test
+[test]: https://github.com/dart-lang/test
The boolean selector syntax is based on a simplified version of Dart's
expression syntax. Selectors can contain identifiers, parentheses, and boolean
@@ -16,7 +16,7 @@
selectors.
A boolean selector is parsed from a string using
-[`new BooleanSelector.parse()`][parse], and evaluated against a set of variables
+[`BooleanSelector.parse()`][parse], and evaluated against a set of variables
using [`BooleanSelector.evaluate()`][evaluate]. The variables are supplied as
a function that takes a variable name and returns its value. For example:
@@ -28,7 +28,7 @@
import 'package:boolean_selector/boolean_selector.dart';
void main(List<String> args) {
- var selector = new BooleanSelector.parse("(x && y) || z");
+ var selector = BooleanSelector.parse("(x && y) || z");
print(selector.evaluate((variable) => args.contains(variable)));
}
```