bright-gpu-74537
03/21/2021, 7:57 PMbillions-dog-17481
03/21/2021, 7:58 PMbillions-dog-17481
03/21/2021, 7:59 PMbright-gpu-74537
03/21/2021, 7:59 PMpowerful-morning-89
03/21/2021, 8:22 PMmagnificent-caravan-75149
03/22/2021, 4:01 PMmost-caravan-45834
03/22/2021, 4:13 PMbrave-kangaroo-30399
03/22/2021, 4:17 PMmost-caravan-45834
03/22/2021, 6:53 PMbrave-kangaroo-30399
03/22/2021, 7:00 PMbright-gpu-74537
03/22/2021, 7:41 PMcurved-appointment-82072
03/23/2021, 1:43 PMhx
LocaleParser.register("myExt", MyClassExtendingLocalePArser);
The app breaks silently (blank page on compile).
though if I register it in the
hx
//LocaleParser line 32
private static function defaultParsers() {
if (_parsers == null) {
register("properties", PropertiesParser);
register("po", PoParser);
register("myExt", MyClassExtendingLocalePArser);
}
}
It works fine, would that be the only way to add a custom parser ?bright-gpu-74537
03/23/2021, 3:08 PMbright-gpu-74537
03/23/2021, 3:09 PMhandsome-processor-40961
03/24/2021, 4:04 PMbright-gpu-74537
03/24/2021, 4:08 PMbright-gpu-74537
03/24/2021, 4:08 PMhandsome-processor-40961
03/24/2021, 4:13 PMbright-gpu-74537
03/24/2021, 4:14 PMbright-gpu-74537
03/24/2021, 4:14 PMbright-gpu-74537
03/24/2021, 4:14 PMbright-gpu-74537
03/24/2021, 4:18 PMbright-gpu-74537
03/24/2021, 4:18 PMhandsome-processor-40961
03/24/2021, 4:28 PMbright-gpu-74537
03/24/2021, 5:01 PMbright-gpu-74537
03/24/2021, 5:01 PMbright-gpu-74537
03/24/2021, 5:01 PMicy-zebra-52882
03/24/2021, 11:11 PMicy-zebra-52882
03/24/2021, 11:15 PM<button text="Click Me!" onclick="this.text='Thanks!'" style="font-size: 24px;" />icy-zebra-52882
03/24/2021, 11:16 PMonclick code to try to run a function I've declared in the same source file that runs that UI (i.e. onclick=myFunction), it can't run it