| Index: packages/intl/lib/intl_browser.dart
|
| diff --git a/packages/intl/lib/intl_browser.dart b/packages/intl/lib/intl_browser.dart
|
| index 995b2c17464f4b9ccdf37d2c9230dd455b81b0dc..e38e9f060d1527556c19695c4b6e047278bfbf88 100644
|
| --- a/packages/intl/lib/intl_browser.dart
|
| +++ b/packages/intl/lib/intl_browser.dart
|
| @@ -2,12 +2,10 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -/**
|
| - * This provides facilities for Internationalization that are only available
|
| - * when running in the web browser. You should import only one of this or
|
| - * intl_standalone.dart. Right now the only thing provided here is the
|
| - * ability to find the default locale from the browser.
|
| - */
|
| +/// This provides facilities for Internationalization that are only available
|
| +/// when running in the web browser. You should import only one of this or
|
| +/// intl_standalone.dart. Right now the only thing provided here is the
|
| +/// ability to find the default locale from the browser.
|
|
|
| library intl_browser;
|
|
|
| @@ -20,11 +18,9 @@ import "intl.dart";
|
| // seems to be no graceful way to do this at all. Either mirror access on
|
| // dart2js or the ability to do spawnUri in the browser would be promising
|
| // as ways to get rid of this requirement.
|
| -/**
|
| - * Find the system locale, accessed as window.navigator.language, and
|
| - * set it as the default for internationalization operations in the
|
| - * [Intl.systemLocale] variable.
|
| - */
|
| +/// Find the system locale, accessed as window.navigator.language, and
|
| +/// set it as the default for internationalization operations in the
|
| +/// [Intl.systemLocale] variable.
|
| Future<String> findSystemLocale() {
|
| Intl.systemLocale = Intl.canonicalizedLocale(window.navigator.language);
|
| return new Future.value(Intl.systemLocale);
|
|
|