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

Static literals on prototype #1

Open
dhruvdutt opened this issue Apr 9, 2018 · 0 comments
Open

Static literals on prototype #1

dhruvdutt opened this issue Apr 9, 2018 · 0 comments
Labels
easy good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dhruvdutt
Copy link
Owner

Currently, we have support for transforming static Methods on prototype from

Controller.staticMethod = function(param) {
	var bar = "webpack-cli";
};

to

static staticMethod(param) {
	var bar = "webpack-cli";
}

But, we don't have support for transforming literals like this:

Controller.name = "Dhruvdutt";

We need to transform it into:

static name = "Dhruvdutt";
@dhruvdutt dhruvdutt added good first issue Good for newcomers easy help wanted Extra attention is needed labels Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant