📄 testsave.htm
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript" src="../acting/util.js"></script>
<script>
var lines=new Array();
var nodes=new Array();
alert(nodes.length);
nodes=[
{name:'未命名任务0',type:'start',comment:'',position:{top:81,left:351}},
{name:'未命名任务1',type:'end',comment:'',position:{top:234,left:457}}
];
alert(nodes.length);
//lines={
// {name:'未命名0',source:0,destination:1,midPoint:{top:'172.5',left:'454'}}
// };
//
//alert(lines.length);
function clearAll(){
var s={name:'shen',age:18};
var d={sex:'male'};
d=mixIn(s,d);
for(var i in d)
alert(i+":"+d[i]);
}
</script>
</head>
<body>
<button onclick="clearAll()">clear</button>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -