网页上代码(即时同步模式,浏览器可能阻塞):

 
<script src="../scripts/boot.js"></script>
 
<script>
 
$import("example.codedecorator.Code");
 

         
 
var code1 = new Code();
 
code1.id = "pageCode";
 
code1.decorate();
 
</script>