File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 29
29
< div class ="progress-indicator-2 "> </ div >
30
30
31
31
< script src ="config.js "> </ script >
32
+ < script type ="text/javascript " charset ="UTF-8 " src ="https://cdn.wwads.cn/js/makemoney.js " async > </ script >
32
33
< noscript >
33
34
< p > 《ECMAScript 6 入门教程》是一本开源的JavaScript语言教程,全面介绍ECMAScript 6新增的语法特性。</ p >
34
35
< p > 本书力争覆盖ES6与ES5的所有不同之处,对涉及的语法知识给予详细介绍,并给出大量简洁易懂的示例代码。</ p >
Original file line number Diff line number Diff line change @@ -243,15 +243,7 @@ function li_create_linkage(li_tag, header_level) {
243
243
}
244
244
245
245
function create_banner ( element ) {
246
- ( function ( ) {
247
- var wwads = document . createElement ( 'script' ) ;
248
- wwads . type = 'text/javascript' ;
249
- wwads . async = true ;
250
- wwads . src = 'https://cdn.wwads.cn/js/makemoney.js' ;
251
- ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( wwads ) ;
252
- } ) ( ) ;
253
-
254
- var banner = $ ( '<div class="wwads-cn wwads-horizontal" data-id="197" style="max-width:100%"></div>' )
246
+ var banner = $ ( '<div class="wwads-cn wwads-horizontal" data-id="197" style="max-width:100%;"></div>' )
255
247
. insertAfter ( element ) ;
256
248
/*
257
249
// 2022年8月25日
You can’t perform that action at this time.
0 commit comments