|
打开文件中心的文件,我跟踪到这段代码报错
var $OV = officeViewer.$OV;
if ($OV("ov").IsOpened()){
return;
}
$OV的值是这样的:
- <p><span style='font: 12px/11px Consolas, "Lucida Console", monospace; color: rgb(34, 34, 34); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: pre; widows: 1; -webkit-text-stroke-width: 0px;'>function (id) {
- var element = document.getElementById(id);
- if (element.OV_OfficeViewer_extended) return element;
- element.OV_OfficeViewer_extended = true;
- element.resCellRegExp_t = /\.\w*$/;
- element.resCellRegExp_f = /\.[^\.]+$/;
- return OV.extend(element, OV.OfficeViewer);
- }</span> </p>
复制代码
|
|