pas2js · 2019-08
- Pas2js 1.4.140
I uploaded the release of pas2js 1.4.14. Changes: http://wiki.freepascal.org/Pas2JS_Version_Changes#Version_1.4.14 Snapshots:…
- missing definitions5
I remember I had to include some missing definitions at the external classses (JS unit) to compile my test project. ------------------- { TJSObject } TJSObject = class…
- Project DBNavigator using TObjectList - pas2js0
live preview: https://pas2js.github.io/master/projDBNavigator/index.html project download: https://pas2js.github.io/master/projDBNavigator.rar Sent from:…
- Pas2js 1.4.120
I uploaded the release of pas2js 1.4.12. Changes: http://wiki.freepascal.org/Pas2JS_Version_Changes#Version_1.4.12 Snapshots:…
- How can i use IndexedDB in pas2js?0
I tryed IndexedDB but i dont understand types needed forma...any guide ? -------------- next part -------------- An HTML attachment was scrubbed... URL:…
- dataTransfer has a rare performance!??2
Hello people,...yes, me again....look: ..if in a function like : function Arrastrar(aEvent:TJSDragEvent): Boolean; begin aEvent.dataTransfer.setData('Text','<img src="'+…
- ProjZipSprite for pas2js1
I've been thinking this directive, including (linking/embedding) resources to pas2js units. {$R projZipSprite.res} Of course it is a blue dream, after the .RES file is…
- The definition of 'Attr' interface3
Ref: https://dom.spec.whatwg.org/#interface-attr (* [Exposed=Window] interface Attr : Node { readonly attribute DOMString? namespaceURI; readonly attribute DOMString?…
- submit??4
Hello ...iit is me again...perhaps it is a stupid question but .... I Trying traslate from Javascript to Pas2JS this: document.informacion1,submit() but I not find…
- Change in event handler0
Based on a recent remark on the list, and after careful checking of the documentation, the TEventListenerEvent class has been made an alias of TJSEvent:…
- The definition HTMLOutputElement interface1
{A DOMSettableTokenList object is equivalent to a DOMTokenList object without an associated attribute.} type TJSDOMSettableTokenList = class external name…
- external class with property modifier - feature request3
This definition code works in pas2js ========= function END_RCDATA: JSValue; external name '});' property; ========= hum, pas2js accepts the modifier property! but when…
- is it a bug fro pas2js?4
Hello, I have a problem: I writing an event handler for invalid input from a html form element in order to get a validation on real time: FFormulario1 :=…
- CreateObject1
Hey, I'd like to create an instance of this class/interface definition: ----------------------------------------------------------------------------- TGoogleMapOptions =…
- not TJSHTMLMediaElement or TJSHTMLVieoElement?6
I'm trying catch <video id="media"> from my project1.html in my project1.pas with medio1:= TJSHTMLElement(document.getElementById("medio")); but this way not allow to me…
- project Google Maps for pas2js2
live preview: https://pas2js.github.io/master/projGMaps/ project download: https://pas2js.github.io/master/projGMaps.rar Sent from: http://pas2js.38893.n8.nabble.com/
- Project CryptoJS for pas2js1
live preview: https://pas2js.github.io/master/projCrypto/ download project: https://pas2js.github.io/master/projCryptoJS.rar Sent from: http://pas2js.38893.n8.nabble.com/
- TJSCrypto name minor error8
Please correct the definition TJSCrypto class (Web.pas), the correct is 'crypto' TJSCrypto = class external name 'crypto' (TJSObject) Sent from:…
- TJSString >> substring() Method1
minor type into Web.pas >> TJSString Class >> subString method the correct is "substring" instead of "subString" Sent from: http://pas2js.38893.n8.nabble.com/
- GetTickCount and TStopWatch implementation0
unit System.Diagnostics; { ╔══════════════════════════════════════════════…
- sluggish Trunc0
I've made a little test 4x using this code in both pas2js and dwscript/sms: ------- try for I := 0 to 999999999 do begin Aux := Trunc(I / 2); end; finally…
- Sorry for the red herring0
I had assumed that these GTK or QT browser widgets do not need either cef4delphi or cef3fpc. As your suggested WebKit version is GTK based I thought it helpful to…
- Project SJCL2
Stanford Javascript Crypto Library - SJCL ---------------------------------------------- live preview: https://pas2js.github.io/master/projSJCL/ download project:…
- The way forward: Exit the VCL/LCL, enter the DOM4
I have just committed some proof of concept that I have been working on lately. Please bear with me for a long mail ! Current attempts at widget sets focus on getting…
- resourcestrings structure9
Creating my own alternative mechanism, of course, to translations strings. Just curious, I can't find a way to generate similar JSON structure when using resourcestrings.
- Missing property in TJSHTMLButtonElement1
The value property is missing in TJSHTMLButtonElement <input type = "button" class = "form-control" id = "btn1" value = "Pas 2 JS" />
- Help Please1
Which is the Unit where GetElement is declared?...I try: FEdtUserName:=TJSHTMLInputElement(GetElement('usuario')) but the compiler answer : Indentifier not…
- Lazarus Release 2.0.40
The Lazarus team is glad to announce the release of Lazarus 2.0.4. This release was built with FPC 3.0.4. The previous release Lazarus 2.0.2 was built with FPC 3.0.4 as…
- CrossMonkey: Build native desktop, mobile and web app with same UI and same codebase2
I just want to share this new project. https://gitlab.com/CrossMaker/CrossMonkey <https://gitlab.com/CrossMaker/CrossMonkey> The goal is to be able create a native…
- Nice!0
I just work on console script for now......Really nice work this pas2js....congratulations and tkank.... pp MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y…
- ExtractFileName function7
There are an issue on the ExtractFileName function | win64 platform ...an workaround would be: function ExtractFileName(str: String): String; begin asm Result =…
