Skip to content
This repository was archived by the owner on May 30, 2020. It is now read-only.
This repository was archived by the owner on May 30, 2020. It is now read-only.

angular-template update crashes js-doc #110

Description

@vpapadopou
jsTemplate error in line 4
2 '  <ul class="chips">\r'
3 '    <% if (directiveScope) { %><li class="chip"><%= directiveScope %></li><% } %>\r'
4 '    <% var _restrict = restrict;  for(var i in _restrict) {   var rest = _restrict[i]; %><% if (restrict) { %><li class="chip"><%=rest%></li><% } %><% } %>\r'
5 '  </ul>\r'
6 '\r'
7 '  <div class="clearfix"></div>\r'
processing template: class.html
error in line 4
jsTemplate error in line 74
C:\Users\........\node_modules\angular-template\index.js:87
        throw e.raisedOnceException;
        ^

ReferenceError: restrict is not defined

After searching it seems that a recent update in angular-template leads to angular-jsdoc crashing. Reverting back to angular-template 2.1.4 solves the problem.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions