• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ncuillery / angular-breadcrumb / 85
97%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v0.5.0
DEFAULT BRANCH: master
Ran 27 Aug 2014 09:36PM UTC
Jobs 1
Files 1
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
85

push

travis-ci

ncuillery
fix: organize state-level options in `ncyBreadcrumb` key instead of `data`

Originally, state-level options was defined in the `data` key which is the
key reserved for custom usages (according to UI-router documentation). It
causes problems because of data inheritance (#30). The ugly
`$$isStateDataProperty` function was checking if a property was in state's
data is its own.

Now, these options are defined in the `ncyBreadcrumb` key. They are no
longer inherited between states and `$$isStateDataProperty` is no longer
needed.

Closes #30
BREAKING CHANGE: state-level options has been moved under the custom key
`ncyBreadcrumb` in state's configuration.

To migrate the code follow the example below:
```
// Before
$stateProvider.state('A', {
  url: '/a',
  data: {
    ncyBreadcrumbLabel: 'State A'
  }
});
```

```
// After
$stateProvider.state('A', {
  url: '/a',
  ncyBreadcrumb: {
    label: 'State A'
  }
});
```
See API reference on wiki for more informations.

76 of 80 relevant lines covered (95.0%)

2525.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 85.1 27 Aug 2014 09:36PM UTC 0
95.0
Travis Job 85.1
Source Files on build 85
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #85
  • 1ea436d3 on github
  • Next Build on v0.3.x (#86)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc