Permalink
Browse files

feature: New WebSite launched for MDL/Dart

  • Loading branch information...
MikeMitterer committed Aug 17, 2015
1 parent 8291745 commit 79e9ff0af67986d13ab86b014edbca6616ccafec
View
Binary file not shown.
@@ -0,0 +1,22 @@
name: test
version: 0.0.1
description: Material Design Lite 'MDL Text-Only Template'
author: <Tester> <test@test.com>
#homepage: https://www.example.com
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
browser: any
mdl: '>=1.0.0 <2.0.0'
logging: any
logging_handlers: any
console_log_handler: any
di: any
transformers:
- di

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,25 @@
import 'dart:html' as html;
import 'package:logging/logging.dart';
import 'package:console_log_handler/console_log_handler.dart';
import 'package:mdl/mdl.dart';
final Logger _logger = new Logger('layout-header-drawer-footer');
main() async {
configLogging();
registerMdl();
await componentFactory().run();
}
void configLogging() {
hierarchicalLoggingEnabled = false; // set this to true - its part of Logging SDK
// now control the logging.
// Turn off all logging first
Logger.root.level = Level.INFO;
Logger.root.onRecord.listen(new LogConsoleHandler());
}
Oops, something went wrong.

0 comments on commit 79e9ff0

Please sign in to comment.