File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 26
26
Polymer ( 'cxx-clause' , {
27
27
// Convenience function at the clause level, which gets called from <cxx-toc>.
28
28
set_clause_num : function ( clause_num ) {
29
+ // If the author explicitly specified the clause number, don't
30
+ // use a different number.
31
+ if ( this . number )
32
+ clause_num = this . number
29
33
this . update_sec_nums ( clause_num ) ;
30
34
} ,
31
35
Original file line number Diff line number Diff line change 17
17
Recognizes attributes 'id' and 'title', but marking these as attributes
18
18
cause problems for the ShadowDOM polyfill.
19
19
-->
20
- < polymer-element name ="cxx-section " constructor ="CxxSectionElement ">
20
+ < polymer-element name ="cxx-section " constructor ="CxxSectionElement " attributes =" number " >
21
21
< template >
22
22
< style >
23
23
: host { dis play: block; }
You can’t perform that action at this time.
0 commit comments