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

Add debug filter #10

Open
jlebrech opened this issue Aug 6, 2014 · 1 comment
Open

Add debug filter #10

jlebrech opened this issue Aug 6, 2014 · 1 comment

Comments

@jlebrech
Copy link

jlebrech commented Aug 6, 2014

Something like this:

PolymerExpressions.prototype.debug = function (value) {
  return JSON.stringify(value);
}

I followed your pattern to add this to my app, as i'm working with a third party api and need to inspect the responses, and this was quite useful.

AngularJS has a filter like this which is handy,

@addyosmani
Copy link
Owner

Basically this filter, right? https://github.com/angular/angular.js/blob/master/src/ng/filter/filters.js#L480

Would you like to file a PR for this change?. If not, I can get it added as part of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants