Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-cn/public/docs/_examples/architecture/dart/lib/logger_service.dart

12 lines
269 B
Dart
Raw Normal View History

docs(guide): add Dart intro closes #460
2015-12-05 18:35:03 -07:00
import 'dart:html';
docs(dart): update to b12 Also update dart_to_js_script_rewriter dependency to ^1.0.1, and change most angular2.dart imports to be core.dart instead. The pipes example broke without the angular2.dart import, so I let it be. The server-communication sample has never worked for me, so I changed it but might have broken it further. closes #1007
2016-03-25 16:03:53 -07:00
import 'package:angular2/core.dart';
docs(guide): add Dart intro closes #460
2015-12-05 18:35:03 -07:00
@Injectable()
docs(architecture/dart): proofread, updated Dart/TS app and jade closes #1807 - e2e tests now also cover the tax calculator. - Dart app updated to match TS (it had no sales tax calculator). - TS sample source cleanup (e.g. removed many unnecessary `docregions`). - Prose updated to include @kwalrath's revisions from a while ago, Ward's comments, and some of my edits as well. Contributes to #1598 and #1508.
2016-07-01 08:44:28 -07:00
// #docregion class
docs(guide): add Dart intro closes #460
2015-12-05 18:35:03 -07:00
class Logger {
void log(Object msg) => window.console.log(msg);
void error(Object msg) => window.console.error(msg);
void warn(Object msg) => window.console.warn(msg);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 246ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API