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

Problem with turn off debug information mode #23

Open
COSTADOR opened this issue Dec 26, 2018 · 3 comments
Open

Problem with turn off debug information mode #23

COSTADOR opened this issue Dec 26, 2018 · 3 comments

Comments

@COSTADOR
Copy link

You have a problem when application try to use $compileProvider.debugInfoEnabled(false);
We always disable this in production for a significant performance boost.

For example function saveColumnSizes() use angular.element(column).scope() which dont work when we set to false debugInfoEnabled.

@tympanix
Copy link
Owner

I was not aware of this. Do you have any suggestions on how to avoid this but still access the scope?

@tympanix
Copy link
Owner

tympanix commented Jan 2, 2019

I am not completely following. Maybe, instead of accessing the scope directly, I will have rzCol and rzTable communicate through the controller.

@krishna217
Copy link

Instead of scope() we can use angular.element(column).text(). This way we can avoid this issue.

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

3 participants