dart-sdk/samples-dev/swarm
Lasse R.H. Nielsen 6f78471687 New methods on Iterable, List, Set, Queue, Map.
Changes signature of Iterable.singleWhere.
Makes LinkedHashMap no longer be a HashMap.

Change-Id: I7a12fea533d42b0fc8357086649df38ad01f3cdd
Reviewed-on: https://dart-review.googlesource.com/39140
Commit-Queue: Leaf Petersen <leafp@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-02-07 06:12:53 +00:00
..
appengine
data
swarm_ui_lib New methods on Iterable, List, Set, Queue, Map. 2018-02-07 06:12:53 +00:00
test
App.dart
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
swarmlib.dart
SwarmState.dart
SwarmViews.dart
UIState.dart
update.py
Views.dart

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