Skip to content

Commit aea4cc2

Browse files
committed
Updating Demos
1 parent 03ef59d commit aea4cc2

File tree

356 files changed

+180621
-169866
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

356 files changed

+180621
-169866
lines changed

demos/common.dart

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,15 @@ void init(String script, {void onReady()}) {
4747
});
4848
}
4949

50-
Map<String, String> queryString = Uri.parse(window.location.href).queryParameters;
50+
Map<String, String> queryString =
51+
Uri.parse(window.location.href).queryParameters;
5152

5253
GitHub _createGitHub() {
5354
initGitHub();
5455
return new GitHub(
55-
auth:
56-
queryString["token"] != null ?
57-
new Authentication.withToken(queryString["token"]) :
58-
new Authentication.anonymous()
59-
);
56+
auth: queryString["token"] != null
57+
? new Authentication.withToken(queryString["token"])
58+
: new Authentication.anonymous());
6059
}
6160

6261
GitHub github = _createGitHub();

demos/emoji.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import "dart:html";
22

3-
import "package:github/browser.dart";
43
import "common.dart";
54

65
DivElement $emoji;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy