angular / angular-hint

run-time hinting for AngularJS applications
362 stars 45 forks source link

How to provide ng-hint messages #17

Closed ealtenho closed 10 years ago

ealtenho commented 10 years ago

At the very least I think it would make sense to standardized our messages by giving them to the console from one function in this overall library. For example, individual ng-hint libraries could provide an array of their messages. Then ng-hint could log those messages with standardized formatting and labeling.

Alternatively we had discussed a UI other than console.log.

Should we discuss this alternative UI? If not, I am looking into starting a shared library of functions #14 that are common to many of the libraries.

btford commented 10 years ago

I am looking into starting a shared library of functions

Here's a repo for you: https://github.com/angular/angular-hint-log

ealtenho commented 10 years ago

[AngularHintLog)[https://github.com/angular/angular-hint-log] now provides consistent messaging between different ngHint modules and is currently used by ngHintDOM ngHintDirectives.