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

Attribute open not working after grunt-contrib-uglify #48

Open
styxiak opened this issue Apr 4, 2016 · 1 comment
Open

Attribute open not working after grunt-contrib-uglify #48

styxiak opened this issue Apr 4, 2016 · 1 comment

Comments

@styxiak
Copy link

styxiak commented Apr 4, 2016

HI,

After running grunt-contrib-uglify all JSON's are always closed, no mater what is in attribute open.

@mohsen1
Copy link
Owner

mohsen1 commented Apr 4, 2016

Maybe changing this line to scope.isOpen = Boolean(scope.open); fixes the issue. Please try it out and make a pull request if that fixes it for you.

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