Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Primary consumption #37

Open
ealtenho opened this issue Aug 5, 2014 · 1 comment
Open

Primary consumption #37

ealtenho opened this issue Aug 5, 2014 · 1 comment

Comments

@ealtenho
Copy link
Contributor

ealtenho commented Aug 5, 2014

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.

@btford
Copy link
Contributor

btford commented Aug 11, 2014

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.

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

No branches or pull requests

2 participants