strange behaviour with g.theme object

Posted on
  • >g.theme.fg
    Uncaught ReferenceError: "fg" is not defined
     at line 1 col 9
    g.theme.fg
            ^
    >
    >g.theme
    ={ fg: 0, bg: 7, fg2: 1, bg2: 3,
      fgH: 0, bgH: 3, dark: false }
    >
    >g.theme.bg
    =7
    >g.theme.fg
    Uncaught ReferenceError: "fg" is not defined
     at line 1 col 9
    g.theme.fg
            ^
    >g.theme.fg2
    =1
    >g.theme.fgH
    Uncaught ReferenceError: "fgH" is not defined
     at line 1 col 9
    g.theme.fgH
            ^
    >g.theme.bgH
    =3
    >
    
    
  • You closed this?

    Just so you know, it's to do with this internal interpreter issue: https://github.com/espruino/Espruino/iss­ues/1916

  • Thanks - good to know.

  • Also, fixed now :)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

strange behaviour with g.theme object

Posted by Avatar for HughB @HughB

Actions