angular-hint icon indicating copy to clipboard operation
angular-hint copied to clipboard

Primary consumption

Open ealtenho opened this issue 11 years ago • 1 comments

Is AngularHint primarily intended to be used through Batarang? If so, should the methods currently used to flush messages to console.groupCollapsed be removed? Currently a setInterval() flush produces these messages primarily for protractor tests to view them. Should this flushing be a part of the protractor testing rather than a normal function of AngularHint?

Additionally, if the primary consumption of AngularHint is through Batarang, the README of this library and of the individual modules should explain how AngularHint can be accessed through Batarang.

ealtenho avatar Aug 05 '14 22:08 ealtenho

I think Batarang will be the main way people use this.

We want to support/document the following uses:

  1. Batarang. Should be the easiest way, and perhaps shown/discussed first.
  2. Loading the angular-hint yourself with the ng-hint pseudo-directive. Second-easiest.
  3. Loading some angular-hint-* module manually by adding the module to the list of dependent modules for some app. If you're doing this, you should be somewhat familiar with Angular.

I think the use with batarang should live in the batarang docs, but there should be a prominent link to it from angular-hint.

btford avatar Aug 11 '14 16:08 btford