这就是我迄今为止提出的问题,但无法使其发挥作用
'.workspace .editor':
'cmd-7': 'unset!'
'cmd-7': 'editor:toggle-line-comment'
答案 0 :(得分:2)
以下内容适用于Atom v1.3.2:
<div id="myDiv"></div>
<script type="text/javascript">
var code = '<object id="LiveShow1" classid="clsid:f9bf64a0-5a65-43e0-acdb-b223e7f9ddd9" CODEBASE="WEBWATCH2.cab#version=1,2,5,24" width="\' + view_w + \'" height="\' + view_h + \'">' +
' <img id="camera" width="\' + view_w + \'" height="\' + view_h + \'" src="http://192.168.1.195/GetData.cgi?CH=1" alt="Die Verbindung wurde unterbrochen. Bitte warten..." </img>\'' +
'</object>';
document.getElementById('myDiv').innerHTML = code;
</script>