OLD | NEW |
| (Empty) |
1 Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 for details. All rights reserved. Use of this source code is governed by a | |
3 BSD-style license that can be found in the LICENSE file. | |
4 | |
5 Very simple sample app showing use of the [SliderMenu] view. | |
6 | |
7 Building and running: | |
8 | |
9 1. go to the top-level directory of the project: | |
10 $ cd dart/ | |
11 | |
12 2. build the dartc compiler: | |
13 $ ./tools/build.py --arch=ia32 | |
14 | |
15 3. either compile the Dart code to JavaScript, or load the code directly into | |
16 Dartium: | |
17 | |
18 - to compile the code: | |
19 $(DART_SDK)/bin/dart2js --out=slide_sample.dart.js slide_sample.dart | |
20 | |
21 4. open the generated file in a browser (either Dartium, Chrome, or another | |
22 supported browser): | |
23 $ google-chrome slide_sample.html | |
OLD | NEW |