https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    01/24/2020, 6:32 PM
    maybe your browser handles that exception differently... im using brave, which is essentially chrome
  • b

    bright-gpu-74537

    01/24/2020, 6:32 PM
    its node?
  • u

    user

    01/24/2020, 6:32 PM
    yup debug-html5
  • u

    user

    01/24/2020, 6:32 PM
    which is a version of node thats probably older then the most recent
  • u

    user

    01/24/2020, 6:44 PM
    so everything works in firefox but I get the same error as you in chrome
  • u

    user

    01/24/2020, 6:45 PM
    its because of webworkers being in file//: so in release there should be no problem
  • u

    user

    01/24/2020, 6:47 PM
    I dont get why it doesnt work in node though... probably because its an older version; Anyway thanks for the help and all 🙂
  • u

    user

    01/24/2020, 6:52 PM
    its version v8.9.3
  • b

    bright-gpu-74537

    01/24/2020, 7:03 PM
    right, so you upgraded node and it worked?
  • b

    bright-gpu-74537

    01/24/2020, 7:03 PM
    im on v10.15.0
  • u

    user

    01/24/2020, 7:17 PM
    euhm locally I use 10.15.2
  • u

    user

    01/24/2020, 7:17 PM
    but I think kha overrides our node if I remember correctly
  • u

    user

    01/24/2020, 7:19 PM
    and even in 10 it wont work because webworkers are only supported officially since the version 12 from what I found
  • b

    bright-gpu-74537

    01/24/2020, 7:46 PM
    the webworkers are created in the browser though
  • b

    bright-gpu-74537

    01/24/2020, 7:46 PM
    i presume you mean nodejs serving the webapp?
  • u

    user

    01/24/2020, 10:44 PM
    yes version 12 of nodejs
  • u

    user

    01/24/2020, 10:45 PM
    btw this could potentially interest you for hxIDE https://github.com/NeekSandhu/monaco-editor-textmate
  • u

    user

    01/24/2020, 10:54 PM
    we could use that with this to avoid having to write monarch files: https://github.com/vshaxe/haxe-TmLanguage/blob/master/haxe.tmLanguage
  • u

    user

    01/24/2020, 10:56 PM
    I will have a stab at wrapping that other stuff sunday
  • b

    bright-gpu-74537

    01/25/2020, 9:05 AM
    works pretty well, the animator over draws w/h values, but i think that is a haxeui issue, which is now "on the list"
  • h

    handsome-television-62908

    01/25/2020, 7:46 PM
    Hell yeah, that looks awesome!
  • b

    bright-gpu-74537

    01/25/2020, 9:48 PM
    well, the animation has a w/h issue, think its the frame interpolator, and its not an ideal way to use monaco, nicer to use it directly in haxeui-html5, but its nice to know that if you were using a browser, say, haxeui-openfl, haxeui-kha, haxeui-pixi, etc, then you have... ... ... options 🙂
  • t

    thousands-house-41767

    01/28/2020, 8:26 PM
    Hi! Is there a way to disable a button without hiding it?
  • u

    user

    01/28/2020, 8:42 PM
    Whoaaaa
  • u

    user

    01/28/2020, 8:42 PM
    @User What's that for?
  • u

    user

    01/28/2020, 8:42 PM
    Desktop? Web? Mobile?
  • b

    bright-gpu-74537

    01/28/2020, 9:45 PM
    @User - its just monaco floating over a haxeui-kha application @User -
    disabled
    ?
  • u

    user

    01/28/2020, 9:47 PM
    Neat
  • t

    thousands-house-41767

    01/28/2020, 9:53 PM
    @User Does it exist as a property? I didn't see it in the API doc
  • b

    bright-gpu-74537

    01/28/2020, 9:54 PM
    yeah, its a property, docs are probably out of date - though actually, its been there for ages, so i think my doc gen is doing something funny and missing certain functions / props... so ill have to look into that
1...166167168...1687Latest