[Pas2js] Progressive Web Apps
warleyalex
warleyalex at yahoo.com.br
Sat Nov 10 15:08:26 CET 2018
---// some.js //--------------------------------------
!function(){"use strict";var e=function(){
var i = function () {
console.log('initialization...');
};
return i;
}();var a=e;window.bosta=e;}();
-----------------------------------------
---// index.html //--------------------------------------
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="icon" href="data:,">
<title>Project1</title>
</head>
<body>
</body>
</html>
-----------------------------------------
---// project1.lpr //--------------------------------------
{...}
function ini: JSValue; external name 'window.bosta';
begin
ini;
Application:=TMyApplication.Create(nil);
Application.Initialize;
Application.Run;
Application.Free;
-----------------
Regards,
warleyalex
--
Sent from: http://pas2js.38893.n8.nabble.com/
More information about the Pas2js
mailing list