mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 21:20:25 +02:00
pastojs: less hints
git-svn-id: trunk@43332 -
This commit is contained in:
parent
3518f456a4
commit
2b5c904b2d
@ -97,6 +97,7 @@ end;
|
|||||||
procedure THTMLResourceLinkHandler.DoneUnit(IsMainFile : Boolean);
|
procedure THTMLResourceLinkHandler.DoneUnit(IsMainFile : Boolean);
|
||||||
begin
|
begin
|
||||||
// Do no call inherited, it will clear the list
|
// Do no call inherited, it will clear the list
|
||||||
|
if IsMainFile then ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
@ -72,6 +72,8 @@ uses base64;
|
|||||||
procedure TNoResources.HandleResource(aFileName: string; Options: TStrings);
|
procedure TNoResources.HandleResource(aFileName: string; Options: TStrings);
|
||||||
begin
|
begin
|
||||||
// Do nothing
|
// Do nothing
|
||||||
|
if aFileName='' then ;
|
||||||
|
if Options=nil then ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -169,6 +171,7 @@ end;
|
|||||||
function TPas2jsResourceHandler.WriteJS(const aUnitName: String; aModule: TJSElement): TJSElement;
|
function TPas2jsResourceHandler.WriteJS(const aUnitName: String; aModule: TJSElement): TJSElement;
|
||||||
begin
|
begin
|
||||||
Result:=aModule;
|
Result:=aModule;
|
||||||
|
if aUnitName='' then ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user