aumcode / nfx

C# Server UNISTACK framework [MOVED]
https://github.com/agnicore/nfx
Other
391 stars 93 forks source link

JS Compiler: direct insertions into js code #49

Open vlapchenko opened 7 years ago

vlapchenko commented 7 years ago

Please, extend syntax of JS Compiler to make insertions of source laconf into js code directly, like:

var dlg = new WAVE.GUI.Dialog({
  header: "Some Infromation",
  body: /*** div { h2="Header" {} p="Paragraph" {}  }  ***/
  ...
});
itadapter commented 7 years ago

Did we not do this yet?

OlegPanagushin commented 7 years ago

Now you can use: var dlg = new WAVE.GUI.Dialog({ header: "Some Infromation", body: "*# div { h2="Header" {} p="Paragraph" {} } *#" ... });

vlapchenko commented 7 years ago

Bug is found: statement with single quote ( '*#* ... *#*') is not parsed. And multi-line code with "\" line break doesn't work.