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

feat(tab): add select expressions #5438

Closed
wants to merge 1 commit into from

Conversation

wesleycho
Copy link
Contributor

  • Add support for event and tab being available in select/deselect
    callbacks

This implements the third task of #4836.

@Foxandxss
Copy link
Contributor

Tests? :P

@wesleycho
Copy link
Contributor Author

I tried adding some tests, but it actually ended up locking up Karma - I think I might have to get clever about how to check the select/deselect arguments (jasmine.any(Object) caused issues, and I suspect a direct $scope comparison would too - might need to do a $scope.$id comparison).

@wesleycho wesleycho force-pushed the feat/select-expr branch 2 times, most recently from db06631 to d340b41 Compare February 13, 2016 14:13
@wesleycho
Copy link
Contributor Author

I'm not sure this is testable - having circular reference issues since an object containing a $scope is passed into one of the arguments, jasmine seems to handle this poorly.

@wesleycho
Copy link
Contributor Author

Removed $tab expression support, left as just $event support.

@icfantv
Copy link
Contributor

icfantv commented Feb 22, 2016

Do we want a test for this? If not, LGTM.

@wesleycho wesleycho modified the milestones: 1.2.0, 1.2.1, 1.2.2, 1.2.3 Feb 26, 2016
@wesleycho wesleycho modified the milestones: 1.2.3, 1.2.4, 1.2.5 Mar 6, 2016
@wesleycho wesleycho removed this from the 1.2.4 milestone Mar 6, 2016
- Add support for event and tab being available in select/deselect
  callbacks
@wesleycho
Copy link
Contributor Author

Updated with expectations!

@deeg
Copy link
Contributor

deeg commented Mar 14, 2016

LGTM

@wesleycho wesleycho closed this in bb36e40 Mar 14, 2016
@wesleycho wesleycho deleted the feat/select-expr branch March 14, 2016 19:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants