This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +9
-12
lines changed Expand file tree Collapse file tree 7 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ class Viewer extends Observable {
237
237
return lib.load ();
238
238
}
239
239
240
- Future <List <Item >> getMember (Library lib, DocsLocation location) {
240
+ Future <List <Item >> getMember (lib, DocsLocation location) {
241
241
var member = lib.memberNamed (location.memberName);
242
242
if (member == null ) return new Future .value ([lib, null ]);
243
243
return member.load ().then ((mem) => new Future .value ([lib, member]));
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ class CategoryElement extends DartdocElement {
26
26
notifyPropertyChange (#accordionParent,
27
27
accordionParentFor (change.oldValue), accordionParent);
28
28
notifyPropertyChange (#divClass, divClassFor (change.oldValue), divClass);
29
- notifyPropertyChange (#divStyle, divStyleFor (change.oldValue), divStyle);
30
29
});
31
30
new PathObserver (viewer, "isInherited" ).changes.listen ((changes) {
32
31
_flushCache ();
@@ -122,9 +121,6 @@ class CategoryElement extends DartdocElement {
122
121
123
122
@observable get divClass => divClassFor (viewer.isDesktop);
124
123
divClassFor (isDesktop) => isDesktop ? 'collapse in' : 'collapse' ;
125
- @observable get divStyle => divStyleFor (viewer.isDesktop);
126
- divStyleFor (isDesktop) => isDesktop ? 'auto' : '0px' ;
127
-
128
124
129
125
var validator = new NodeValidatorBuilder ()
130
126
..allowHtml5 (uriPolicy: new SameProtocolUriPolicy ())
Original file line number Diff line number Diff line change 12
12
data-toggle ="collapse "
13
13
data-parent ="{{accordionParent}} "
14
14
data-target ="#accordion-{{stylizedName}} ">
15
- {{title}}
15
+ {{title}}< b class =" caret " > </ b >
16
16
</ a >
17
17
</ div >
18
18
19
19
< div id ="accordion-{{stylizedName}} "
20
20
class ="accordion-body {{divClass}} "
21
- style ="height:{{divStyle}} ">
21
+ style ="height:auto ">
22
22
< div class ="accordion-inner ">
23
23
< ul id ="itemList " class ="nav nav-pills nav-stacked ">
24
24
</ ul >
Original file line number Diff line number Diff line change 2
2
3
3
< polymer-element name ="dartdoc-library-panel ">
4
4
< template >
5
- < div class ="list-group visible-lg col-lg-2 affix-left "
5
+ < div class ="list-group affix-left "
6
6
id ="library-panel ">
7
7
</ div >
8
8
{{createEntries()}}
Original file line number Diff line number Diff line change 28
28
< a href ="http://api.dartlang.org/ " class ="navbar-brand header-logo "> </ a >
29
29
< a href ="#home "
30
30
class ="navbar-brand btn-link ">
31
- Dart API Reference (Work-in-Progress) {{buildIdentifier}}
31
+ Dart API Reference
32
32
</ a >
33
33
34
34
< div class ="nav-collapse collapse navbar-responsive-collapse "
92
92
< dartdoc-minimap-class item ={{viewer.currentPage}} >
93
93
</ dartdoc-minimap-class >
94
94
</ template >
95
-
95
+ < div > Dart Build {{buildIdentifier}} </ div >
96
96
</ div >
97
+
97
98
</ template >
98
99
</ polymer-element >
99
100
< script type ="application/dart " src ="main.dart "> </ script >
Original file line number Diff line number Diff line change 3
3
4
4
< polymer-element name ="dartdoc-minimap-class " attributes ="item ">
5
5
< template >
6
- < div class ="visible-lg col-lg-3 well well-sm nav affix-right "
6
+ < div class ="well well-sm nav affix-right "
7
7
id ="minimap ">
8
8
< a href ="#{{linkHref}} ">
9
9
{{name}} Class
Original file line number Diff line number Diff line change 4
4
< polymer-element name ="dartdoc-minimap-library "
5
5
attributes ="item ">
6
6
< template >
7
- < div class ="visible-lg col-lg-3 well well-sm nav affix-right "
7
+ < div class ="well well-sm nav affix-right "
8
8
id ="minimap ">
9
9
< a href ="#{{linkHref}} ">
10
10
{{name}} library
You can’t perform that action at this time.
0 commit comments