dart-sdk/samples-dev/swarm
Lorenz Nickel 79e478e50e Fixed some links
**I fixed some links and some other minor flaws.**

I also found the following outdated links, which I didn't fix:

- [This link](https://github.com/dart-lang/pool/tree/zone.strong) in [this file](https://github.com/dart-lang/sdk/blob/master/docs/newsletter/20170728.md) (didn't fix because don't know new location and this is some sort of archive so the link should probably stay the original)
- [This link](https://www.dartlang.org/tools/analyzer) in [this file](https://github.com/dart-lang/sdk/blob/master/pkg/analyzer_cli/lib/src/options.dart) (didn't fix since the link is still working, it just gets redirected and the link is part of the programm, I don't want to break anything by changing it, all other links are in comments)
- [This link](https://github.com/domokit/mojo/issues/728) in [this file](https://github.com/dart-lang/sdk/blob/master/build/config/compiler/BUILD.gn) (didn't fix since probably has no new location and is part of TODO, which I don't want to change)

While doing all this I also noticed that [these tests](https://github.com/dart-lang/sdk/tree/master/tests/compiler/dart2js_extra) contain a lot of other inconsistencies in their comments and the location of the import-statements (I only fixed one which was not link-related), could be target of another PR.

Closes #36927
https://github.com/dart-lang/sdk/pull/36927

GitOrigin-RevId: 71d05d0b52d8ec5b92d077a070e066d1fdd4bbfa
Change-Id: Ide4b2424fccad8ae2e06c788efd4443dc0de997b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102222
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Michael Thomsen <mit@google.com>
2019-07-01 16:21:41 +00:00
..
appengine
data
swarm_ui_lib Fixed some links 2019-07-01 16:21:41 +00:00
test Clean up super calls in swarm. 2018-08-21 17:56:13 +00:00
App.dart strong-mode cleanup of swarm 2018-04-04 20:14:35 +00:00
back-21.png
BiIterator.dart
buildapp.py
cacheimages.py
CannedData.dart
ConfigHintDialog.dart
CSS.dart
Dart_Logo_21.png
DataSource.dart
Decoder.dart
externallink.svg
favicon.png
favicon128.png
gen_manifest.py
HelpDialog.dart
info.svg
lefttriangle.svg
manifest.json
pigeons-jumpinjimmyjava-white90pct-q70.jpg
README
refresh-21.png
righttriangle.svg
settings-21.png
sliderarrow.svg
swarm-dev.pem
swarm.css
swarm.dart
swarm.html
swarm.scss
SwarmApp.dart Clean up super calls in swarm. 2018-08-21 17:56:13 +00:00
swarmlib.dart
SwarmState.dart Clean up super calls in swarm. 2018-08-21 17:56:13 +00:00
SwarmViews.dart Clean up super calls in swarm. 2018-08-21 17:56:13 +00:00
UIState.dart Remove uses of upper-case constants in remaining SDK code. 2018-04-16 16:11:57 +00:00
update.py
Views.dart Clean up super calls in swarm. 2018-08-21 17:56:13 +00:00

Copyright (c) 2011, 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.

A sample news reader application.

Running in the Editor with demo data (demo only, no feeds):

1. open the Dart Editor

2. from the menu, click File / Open Folder and load this directory

3. click the green run button

4. alternatively, to run as javascript:
  - compile (under the Tools / Generate JavaScript menu option)
  - load the same url shown in Dartium in step 3 in any other browser

Running in Dartium from the file system (demo only, no feeds):

1. run the Dartium Chrome binary from the command line with the following flag: --allow-file-access-from-files

2. navigate to the swarm.html file in this directory

Running from App Engine (TODO: these are stale instructions):

1. To run on App Engine, install the App Engine SDK for your platform, then
  $ easy_install --upgrade google-api-python-client per http://code.google.com/p/google-api-python-client/wiki/Installation
  $ cd samples/swarm/appengine
  $ enable-app-engine-project . per http://code.google.com/p/google-api-python-client/wiki/GoogleAppEngine
  Start the App Engine dev server and browse to /swarm-js.html