pastojs: less hints

git-svn-id: trunk@43332 -
This commit is contained in:
Mattias Gaertner 2019-10-30 11:59:07 +00:00
parent 3518f456a4
commit 2b5c904b2d
2 changed files with 4 additions and 0 deletions

View File

@ -97,6 +97,7 @@ end;
procedure THTMLResourceLinkHandler.DoneUnit(IsMainFile : Boolean);
begin
// Do no call inherited, it will clear the list
if IsMainFile then ;
end;

View File

@ -72,6 +72,8 @@ uses base64;
procedure TNoResources.HandleResource(aFileName: string; Options: TStrings);
begin
// Do nothing
if aFileName='' then ;
if Options=nil then ;
end;
@ -169,6 +171,7 @@ end;
function TPas2jsResourceHandler.WriteJS(const aUnitName: String; aModule: TJSElement): TJSElement;
begin
Result:=aModule;
if aUnitName='' then ;
end;