mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[all] Add a "suppress" comment (for GCC) to func with implementation in doctrenderer.
This commit is contained in:
@ -345,6 +345,7 @@ var performance = window.performance = (function(){
|
||||
(function(window, undefined){
|
||||
function ZLib()
|
||||
{
|
||||
/** @suppress {checkVars} */
|
||||
this.engine = CreateNativeZip();
|
||||
this.files = {};
|
||||
}
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
"use strict";
|
||||
function CNativeGraphics()
|
||||
{
|
||||
/** @suppress {checkVars} */
|
||||
this.Native = CreateNativeGraphics();
|
||||
|
||||
this.isNativeGraphics = true;
|
||||
|
||||
@ -131,8 +131,10 @@
|
||||
window['AscCommon'].calculateProtectHash = function(args, callback) {
|
||||
if (window["NATIVE_EDITOR_ENJINE"])
|
||||
{
|
||||
if (!AscCommon.hashEngine)
|
||||
if (!AscCommon.hashEngine) {
|
||||
/** @suppress {checkVars} */
|
||||
AscCommon.hashEngine = CreateNativeHash();
|
||||
}
|
||||
|
||||
let retArray = [];
|
||||
for (var i = 0, len = args.length; i < len; i++)
|
||||
|
||||
@ -54,6 +54,7 @@
|
||||
{
|
||||
function ZLib()
|
||||
{
|
||||
/** @suppress {checkVars} */
|
||||
this.engine = window["NATIVE_EDITOR_ENJINE"] ? CreateNativeZip() : new AscCommon["CZLibEngineJS"]();
|
||||
this.files = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user