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

How to get the name of the current app? #23

Open
gr2m opened this issue Nov 8, 2013 · 1 comment
Open

How to get the name of the current app? #23

gr2m opened this issue Nov 8, 2013 · 1 comment

Comments

@gr2m
Copy link
Contributor

gr2m commented Nov 8, 2013

No description provided.

@inator
Copy link

inator commented Dec 2, 2013

@gr2m - I'm not sure if this is still a need, but in the plugin's backend code this is how I did it:

var appName = module.parent.filename.match('.*\/(.+?)\/node_modules')[1];

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