Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

ng-hint throw object is not a function (Angular 1.3.1) #47

Open

Description

@laguiz

When I add hint.js my application load properly but ngHint tells me that ngHint is included on the page, but is not active because there is nong-hintattribute present (note that I get already Controllers, Modules and Directives hint in console).

If I add ng-hint directive next to my ng-app on <html> I get this error :

TypeError: object is not a function
    at http://localhost:9000/assets/vendors/angular/angular.js:7564:13
    at forEach (http://localhost:9000/assets/vendors/angular/angular.js:347:20)
    at nodeLinkFn (http://localhost:9000/assets/vendors/angular/angular.js:7563:11)
    at compositeLinkFn (http://localhost:9000/assets/vendors/angular/angular.js:6959:13)
    at compositeLinkFn (http://localhost:9000/assets/vendors/angular/angular.js:6962:13)
    at publicLinkFn (http://localhost:9000/assets/vendors/angular/angular.js:6838:30)
    at http://localhost:9000/assets/vendors/angular-hint/hint.js:2063:22
    at http://localhost:9000/assets/vendors/angular/angular.js:1456:27
    at Scope.$eval (http://localhost:9000/assets/vendors/angular/angular.js:14110:28)
    at Scope.$apply (http://localhost:9000/assets/vendors/angular/angular.js:14208:23) 

Versions info :
ngHint : master at 10:30 today
Angular : 1.3.1

I'm not sure if I'm using ng-hint properly or if it's a bug.

Feel free to ask me more details if needed.

Activity

  1. thenikso commented on Nov 10, 2014

    @thenikso

    +1

  2. benheller commented on Nov 11, 2014

    @benheller

    +1

  3. timstuyckens commented on Nov 30, 2014

    @timstuyckens

    +1
    Even in the latest version of the example:
    image

  4. diwu1989 commented on Dec 3, 2014

    @diwu1989

    Please fix this

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions