/* automatically generated by JSCoverage - do not edit */
try {
  if (typeof top === 'object' && top !== null && typeof top.opener === 'object' && top.opener !== null) {
    // this is a browser window that was opened from another window

    if (! top.opener._$jscoverage) {
      top.opener._$jscoverage = {};
    }
  }
}
catch (e) {}

try {
  if (typeof top === 'object' && top !== null) {
    // this is a browser window

    try {
      if (typeof top.opener === 'object' && top.opener !== null && top.opener._$jscoverage) {
        top._$jscoverage = top.opener._$jscoverage;
      }
    }
    catch (e) {}

    if (! top._$jscoverage) {
      top._$jscoverage = {};
    }
  }
}
catch (e) {}

try {
  if (typeof top === 'object' && top !== null && top._$jscoverage) {
    _$jscoverage = top._$jscoverage;
  }
}
catch (e) {}
if (typeof _$jscoverage !== 'object') {
  _$jscoverage = {};
}
if (! _$jscoverage['plugins/preview.js']) {
  _$jscoverage['plugins/preview.js'] = [];
  _$jscoverage['plugins/preview.js'][17] = 0;
  _$jscoverage['plugins/preview.js'][19] = 0;
  _$jscoverage['plugins/preview.js'][21] = 0;
  _$jscoverage['plugins/preview.js'][22] = 0;
  _$jscoverage['plugins/preview.js'][28] = 0;
}
_$jscoverage['plugins/preview.js'].source = ["<span class=\"c\">/**</span>","<span class=\"c\"> * &#39044;&#35272;</span>","<span class=\"c\"> * @file</span>","<span class=\"c\"> * @since 1.2.6.1</span>","<span class=\"c\"> */</span>","","<span class=\"c\">/**</span>","<span class=\"c\"> * &#39044;&#35272;</span>","<span class=\"c\"> * @command preview</span>","<span class=\"c\"> * @method execCommand</span>","<span class=\"c\"> * @param { String } cmd &#21629;&#20196;&#23383;&#31526;&#20018;</span>","<span class=\"c\"> * @example</span>","<span class=\"c\"> * ```javascript</span>","<span class=\"c\"> * editor.execCommand( 'preview' );</span>","<span class=\"c\"> * ```</span>","<span class=\"c\"> */</span>","UE<span class=\"k\">.</span>commands<span class=\"k\">[</span><span class=\"s\">'preview'</span><span class=\"k\">]</span> <span class=\"k\">=</span> <span class=\"k\">{</span>","    execCommand <span class=\"k\">:</span> <span class=\"k\">function</span><span class=\"k\">()</span><span class=\"k\">{</span>","        <span class=\"k\">var</span> w <span class=\"k\">=</span> window<span class=\"k\">.</span>open<span class=\"k\">(</span><span class=\"s\">''</span><span class=\"k\">,</span> <span class=\"s\">'_blank'</span><span class=\"k\">,</span> <span class=\"s\">''</span><span class=\"k\">),</span>","            d <span class=\"k\">=</span> w<span class=\"k\">.</span>document<span class=\"k\">;</span>","        d<span class=\"k\">.</span>open<span class=\"k\">();</span>","        d<span class=\"k\">.</span>write<span class=\"k\">(</span><span class=\"s\">'&lt;html&gt;&lt;head&gt;&lt;script src=\"'</span><span class=\"k\">+</span><span class=\"k\">this</span><span class=\"k\">.</span>options<span class=\"k\">.</span>UEDITOR_HOME_URL<span class=\"k\">+</span><span class=\"s\">'ueditor.parse.js\"&gt;&lt;/script&gt;&lt;script&gt;'</span> <span class=\"k\">+</span>","            <span class=\"s\">\"setTimeout(function(){uParse('div',{\"</span> <span class=\"k\">+</span>","            <span class=\"s\">\"    'highlightJsUrl':'\"</span><span class=\"k\">+</span><span class=\"k\">this</span><span class=\"k\">.</span>options<span class=\"k\">.</span>UEDITOR_HOME_URL<span class=\"k\">+</span><span class=\"s\">\"third-party/SyntaxHighlighter/shCore.js',\"</span> <span class=\"k\">+</span>","                <span class=\"s\">\"    'highlightCssUrl':'\"</span><span class=\"k\">+</span><span class=\"k\">this</span><span class=\"k\">.</span>options<span class=\"k\">.</span>UEDITOR_HOME_URL<span class=\"k\">+</span><span class=\"s\">\"third-party/SyntaxHighlighter/shCoreDefault.css'\"</span> <span class=\"k\">+</span>","            <span class=\"s\">\"})},300)\"</span> <span class=\"k\">+</span>","            <span class=\"s\">'&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;div&gt;'</span><span class=\"k\">+</span><span class=\"k\">this</span><span class=\"k\">.</span>getContent<span class=\"k\">(</span><span class=\"k\">null</span><span class=\"k\">,</span><span class=\"k\">null</span><span class=\"k\">,</span><span class=\"k\">true</span><span class=\"k\">)+</span><span class=\"s\">'&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;'</span><span class=\"k\">);</span>","        d<span class=\"k\">.</span>close<span class=\"k\">();</span>","    <span class=\"k\">}</span><span class=\"k\">,</span>","    notNeedUndo <span class=\"k\">:</span> <span class=\"s\">1</span>","<span class=\"k\">}</span><span class=\"k\">;</span>"];
_$jscoverage['plugins/preview.js'][17]++;
UE.commands.preview = {execCommand: (function () {
  _$jscoverage['plugins/preview.js'][19]++;
  var w = window.open("", "_blank", ""), d = w.document;
  _$jscoverage['plugins/preview.js'][21]++;
  d.open();
  _$jscoverage['plugins/preview.js'][22]++;
  d.write(("<html><head><script src=\"" + this.options.UEDITOR_HOME_URL + "ueditor.parse.js\"></script><script>" + "setTimeout(function(){uParse('div',{" + "    'highlightJsUrl':'" + this.options.UEDITOR_HOME_URL + "third-party/SyntaxHighlighter/shCore.js'," + "    'highlightCssUrl':'" + this.options.UEDITOR_HOME_URL + "third-party/SyntaxHighlighter/shCoreDefault.css'" + "})},300)" + "</script></head><body><div>" + this.getContent(null, null, true) + "</div></body></html>"));
  _$jscoverage['plugins/preview.js'][28]++;
  d.close();
}), notNeedUndo: 1};
