OLD | NEW |
1 {{! Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 {{! Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 for details. All rights reserved. Use of this source code is governed by a | 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. }} | 3 BSD-style license that can be found in the LICENSE file. }} |
4 | 4 |
5 <h1> | 5 <h1> |
6 {{package.name}} | 6 {{package.name}} |
7 <span class="version">{{package.latest_version.version}}</span> | 7 <span class="version">{{package.latest_version.version}}</span> |
8 </h1> | 8 </h1> |
9 <div class="row-fluid"> | 9 <div class="row-fluid"> |
10 <div class="span8"> | 10 <div class="span8"> |
(...skipping 26 matching lines...) Expand all Loading... |
37 </div> | 37 </div> |
38 {{/changelog}} | 38 {{/changelog}} |
39 <div class="tab-pane {{^readme}}{{^changelog}}active{{/changelog}}{{/readm
e}}" id="installing"> | 39 <div class="tab-pane {{^readme}}{{^changelog}}active{{/changelog}}{{/readm
e}}" id="installing"> |
40 <h3>1. Depend on it</h3> | 40 <h3>1. Depend on it</h3> |
41 <p>Add this to your package's pubspec.yaml file:</p> | 41 <p>Add this to your package's pubspec.yaml file:</p> |
42 <pre> | 42 <pre> |
43 dependencies: | 43 dependencies: |
44 <strong>{{package.name}}: {{package.latest_version.example_version_constraint}
}</strong> | 44 <strong>{{package.name}}: {{package.latest_version.example_version_constraint}
}</strong> |
45 </pre> | 45 </pre> |
46 <p> | 46 <p> |
47 If your package is an <a href="/doc/glossary.html#application-package"
> | 47 If your package is an <a href="https://www.dartlang.org/tools/pub/glos
sary.html#application-package"> |
48 application package</a> you should use <strong><code>any</code> | 48 application package</a> you should use <strong><code>any</code> |
49 </strong> as the <a href="/doc/glossary.html#version-constraint"> | 49 </strong> as the <a href="https://www.dartlang.org/tools/pub/glossary.
html#version-constraint"> |
50 version constraint</a>. | 50 version constraint</a>. |
51 </p> | 51 </p> |
52 <h3>2. Install it</h3> | 52 <h3>2. Install it</h3> |
53 <p>If you're using the <a href="http://www.dartlang.org/docs/editor/"> | 53 <p>If you're using the <a href="http://www.dartlang.org/docs/editor/"> |
54 Dart Editor</a>, choose:</p> | 54 Dart Editor</a>, choose:</p> |
55 <pre> | 55 <pre> |
56 Menu > Tools > <strong>Pub Install</strong> | 56 Menu > Tools > <strong>Pub Install</strong> |
57 </pre> | 57 </pre> |
58 <p>Or if you want to install from the command line, run:</p> | 58 <p>Or if you want to install from the command line, run:</p> |
59 <pre> | 59 <pre> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 {{/package.documentation}} | 123 {{/package.documentation}} |
124 | 124 |
125 <h4>{{package.uploaders_title}}</h4> | 125 <h4>{{package.uploaders_title}}</h4> |
126 <p>{{& package.uploaders_html}}</p> | 126 <p>{{& package.uploaders_html}}</p> |
127 | 127 |
128 <h4>Share</h4> | 128 <h4>Share</h4> |
129 <div class="g-plusone" data-annotation="none"></div> | 129 <div class="g-plusone" data-annotation="none"></div> |
130 <a href="https://twitter.com/share" class="twitter-share-button" data-count=
"none" data-hashtags="dartlang">Tweet</a> | 130 <a href="https://twitter.com/share" class="twitter-share-button" data-count=
"none" data-hashtags="dartlang">Tweet</a> |
131 </div> | 131 </div> |
132 </div> | 132 </div> |
OLD | NEW |