Skip to content

Commit 17f14a8

Browse files
save file
1 parent 9c0271a commit 17f14a8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

utils/github/html/github-hdr/v2.0/github-hdr-v2.0.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@
9191
<script>
9292

9393

94-
(function github_hdr({mod,root,node}){
94+
(function github_hdr({mod,dom,host}){
9595

96-
var obj = {};
96+
var obj = {
97+
version : 'v2.0',
98+
};
9799

98100
var df=true
99101
;
@@ -133,8 +135,7 @@
133135

134136
obj.initdom = function(rootnode){
135137

136-
var root = $.$(rootnode,'github-hdr');
137-
var shadow = root.shadowRoot;
138+
var shadow = host.shadowRoot;
138139

139140
top.initdom(shadow);
140141

0 commit comments

Comments
 (0)