forked from dart-lang/dart-pad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dart_pad.dart
32 lines (21 loc) · 979 Bytes
/
dart_pad.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// 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.
library dart_pad;
import 'package:http/browser_client.dart';
import 'context.dart';
import 'core/dependencies.dart';
import 'core/keys.dart';
import 'editing/editor.dart';
import 'elements/state.dart';
import 'services/dartservices.dart';
import 'sharing/gists.dart';
import 'src/ga.dart';
Analytics get ga => deps[Analytics] as Analytics;
Context get context => deps[Context] as Context;
DartservicesApi get dartServices => deps[DartservicesApi] as DartservicesApi;
EditorFactory get editorFactory => deps[EditorFactory] as EditorFactory;
GistLoader get gistLoader => deps[GistLoader] as GistLoader;
Keys get keys => deps[Keys] as Keys;
State get state => deps[State] as State;
BrowserClient get browserClient => deps[BrowserClient] as BrowserClient;