Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using JsClasses with node.js #2

Open
danielj86 opened this issue Dec 14, 2017 · 1 comment
Open

Using JsClasses with node.js #2

danielj86 opened this issue Dec 14, 2017 · 1 comment

Comments

@danielj86
Copy link

Today JsClasses are heavily coupled for browser use when referencing the window object in the basic System namespace.

How would you suggest to de-couple the classes from the browser?

I would love to contribute and wrap the classes in a modern JS standard.

@EJocys
Copy link
Contributor

EJocys commented Dec 14, 2017

Maybe, move all methods, which use "window", to "System.Windows.Forms.js" because Microsoft implemented HtmlWindow here: System.Windows.Forms.HtmlWindow (System.Windows.Forms.dll)
and slowly put functions under System.Windows.Forms namespace.

System.Web.js also good place to move functions with "windows" if it is impossible not to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants