Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(ncyBreadcrumb): add 'Element' declaration style '<ncy-breadcrumb…
… />'

The breadcrumb can be included in views with '<ncy-breadcrumb />' (smarter than '<div ncy-breadcrumb></div>').
  • Loading branch information
Nicolas Cuillery committed Apr 28, 2014
1 parent 028e493 commit b51441e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dist/angular-breadcrumb.js
@@ -1,4 +1,4 @@
/*! angular-breadcrumb - v0.1.0 - 2014-04-25
/*! angular-breadcrumb - v0.1.0 - 2014-04-28
* https://github.com/ncuillery/angular-breadcrumb
* Copyright (c) 2014 Nicolas Cuillery; Licensed MIT */
angular.module('ncy-angular-breadcrumb', ['ui.router.state'])
Expand Down Expand Up @@ -140,6 +140,7 @@ angular.module('ncy-angular-breadcrumb', ['ui.router.state'])
};

return {
restrict: 'AE',
replace: true,
scope: {},
template: $breadcrumb.getTemplate(this.$$templates),
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-breadcrumb.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/angular-breadcrumb.js
Expand Up @@ -137,6 +137,7 @@ angular.module('ncy-angular-breadcrumb', ['ui.router.state'])
};

return {
restrict: 'AE',
replace: true,
scope: {},
template: $breadcrumb.getTemplate(this.$$templates),
Expand Down
2 changes: 1 addition & 1 deletion test/spec/directive-basic-test.js
Expand Up @@ -9,7 +9,7 @@ describe('Directive with basic conf', function() {
});

beforeEach(inject(function($rootScope, $compile) {
element = angular.element('<div ncy-breadcrumb></div>');
element = angular.element('<ncy-breadcrumb />');
var compile = $compile(element);
scope = $rootScope.$new();
compile(scope);
Expand Down

0 comments on commit b51441e

Please sign in to comment.