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

omit namespace when calling calcAttributionWidth from within 'Util' #850

Closed
jgravois opened this issue Sep 21, 2016 · 3 comments
Closed
Assignees

Comments

@jgravois
Copy link
Contributor

jgravois commented Sep 21, 2016

L.esri.Util.calcAttributionWidth(map)

'max-width:' + L.esri.Util.calcAttributionWidth(map) +';'

map.attributionControl._container.style.maxWidth = L.esri.Util.calcAttributionWidth(e.target);

@jgravois
Copy link
Contributor Author

this breaks bundles downstream that want to selectively import a tree-shaken ES6 module

@jgravois jgravois changed the title omit namespace when calling calcAttributionWidth from within omit namespace when calling calcAttributionWidth from within 'Util' Sep 21, 2016
@jgravois
Copy link
Contributor Author

thanks for volunteering to help with this one @hamhands! if you're still having trouble calling karma from the CLI next time you crack your laptop locally let me know.

@hamhands
Copy link
Contributor

@jgravois yeah karma is still giving me hell. Ima push the changes and let travis handle it for now.

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