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

Using Tabs throws syntax error in 1.2.16 (but not 1.2.15) #2106

@aslate

Description

@aslate

I'm upgrading my application to bootstrap 0.10.0 and Angular 1.2.16 and have found that the tabset control, it throws an error during compilation - downgrading to 1.2.15 resolves this.

The following code seems to cause the issue -

tabset
    tab(heading="Testing")
        my-custom-directive()
Error: Syntax error, unrecognized expression: <div class="tabbable">
  <ul class="nav {{type && 'nav-' + type}}" ng-class="{'nav-stacked': vertical, 'nav-justified': justified}" ng-transclude></ul>
  <div class="tab-content">
    <div class="tab-pane" 
         ng-repeat="tab in tabs" 
         ng-class="{active: tab.active}"
         tab-content-transclude="tab">
    </div>
  </div>
</div>
    at Function.Sizzle.error (http://localhost:3000/js/lib/jquery/jquery-1.9.1.js:4421:8)
    at tokenize (http://localhost:3000/js/lib/jquery/jquery-1.9.1.js:5076:11)
    at select (http://localhost:3000/js/lib/jquery/jquery-1.9.1.js:5460:11)
    at Function.Sizzle (http://localhost:3000/js/lib/jquery/jquery-1.9.1.js:3998:9)
    at jQuery.fn.extend.find (http://localhost:3000/js/lib/jquery/jquery-1.9.1.js:5576:11)
    at jQuery.fn.jQuery.init (http://localhost:3000/js/lib/jquery/jquery-1.9.1.js:196:38)
    at jQuery (http://localhost:3000/js/lib/jquery/jquery-1.9.1.js:62:10)
    at http://localhost:3000/js/bundle.js:20668:27
    at http://localhost:3000/js/bundle.js:21895:11
    at deferred.promise.then.wrappedCallback (http://localhost:3000/js/bundle.js:25268:81) 

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