1$define(['pl_util'], function() { 2 var init = function(res){ 3 console.log(res) 4 let fes = res.festival 5 //é£éª 6 renderFun(res.snow,`snow${res.snow.effect}`) 7 //æç¯ 8 renderFun(res.lamp,`lamp`) 9 //æ¨ªå¹ 10 renderFun(res.topBar,`topBar`) 11 //é£çª 12 renderFun(res.window,`window`) 13 if(fes==2 || fes==3){//å æ¦ æ¥è 14 //对è 15 renderFun(res.couplet,`couplet`) 16 } 17 //æ¹æ³ 18 function renderFun(obj,key){ 19 if(isMo() && key!="topBar"){ 20 return 21 } 22 if(!obj.isOpen){ 23 return 24 } 25 $require([`/npublic/commonjs/restival/${key}.js`],function(r){ 26 r.init(obj,fes) 27 }) 28 } 29 } 30 return { 31 init : init 32 }; 33})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.