Permalink
Browse files

feature: Dart 2.x ready

  • Loading branch information...
MikeMitterer committed May 30, 2018
1 parent 556d2a9 commit e995684f02be70431ebf6557dd70c631d118a79c
Showing with 17 additions and 11 deletions.
  1. +3 −0 ConsoleLogHandler.iml
  2. +1 −1 README.md
  3. +4 −4 example/browser/pubspec.yaml
  4. +1 −2 example/browser/web/index.html
  5. +2 −1 lib/shared/log_handler.dart
  6. +6 −3 pubspec.yaml
@@ -3,8 +3,10 @@
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/example/browser/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/browser/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/browser/build" />
<excludeFolder url="file://$MODULE_DIR$/example/console/.pub" />
@@ -15,6 +17,7 @@
<excludeFolder url="file://$MODULE_DIR$/test/unit/visual/.pub" />
<excludeFolder url="file://$MODULE_DIR$/test/unit/visual/build" />
</content>
<orderEntry type="jdk" jdkName="1.8_0_92" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
@@ -36,7 +36,7 @@ void main() {

### License

Copyright 2017 Michael Mitterer (office@mikemitterer.at),
Copyright 2018 Michael Mitterer (office@mikemitterer.at),
IT-Consulting and Development Limited, Austrian Branch

Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,8 +13,8 @@ dependencies:
console_log_handler:
path: ../..

dart_to_js_script_rewriter: ^0.1.0

transformers:
- dart_to_js_script_rewriter
dev_dependencies:

build_runner: ^0.8.0
build_test: ^0.10.0
build_web_compilers: ^0.4.0
@@ -10,7 +10,6 @@

<body>
<p>Open Developer-Tools in Chrome to see the Log-Output</p>
<script type="application/dart" src="main.dart"></script>
<script data-pub-inline src="packages/browser/dart.js"></script>
<script defer src="main.dart.js"></script>
</body>
</html>
@@ -82,4 +82,5 @@ abstract class LogHandler {

String prettyPrintJson(final json) {
return PRETTYJSON.convert(json);
}
}

@@ -10,14 +10,17 @@ environment:
sdk: '>=1.12.0 <2.0.0'

dependencies:
browser: ^0.10.0

logging: '>=0.11.3 <1.0.0'
intl: '>=0.15.2 <1.0.0'

ansicolor: ^0.0.9
ansicolor: ^0.1.0
supports_color: "^0.1.0"

dev_dependencies:
test: any
grinder: any
grinder: any

build_runner: ^0.8.0
build_test: ^0.10.0
build_web_compilers: ^0.4.0

0 comments on commit e995684

Please sign in to comment.