Skip to content

Commit

Permalink
v1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
LukaszWatroba committed Mar 10, 2016
1 parent 01db5b0 commit fc45994
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/v-accordion.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* vAccordion - AngularJS multi-level accordion component
* @version v1.5.1
* @version v1.5.2
* @link http://lukaszwatroba.github.io/v-accordion
* @author Łukasz Wątroba <l@lukaszwatroba.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
5 changes: 2 additions & 3 deletions dist/v-accordion.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* vAccordion - AngularJS multi-level accordion component
* @version v1.5.1
* @version v1.5.2
* @link http://lukaszwatroba.github.io/v-accordion
* @author Łukasz Wątroba <l@lukaszwatroba.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -90,14 +90,13 @@ function vAccordionDirective ($timeout) {
controller: vAccordionController,
scope: {
control: '=?',
allowMultiple: '=?multiple',
expandCb: '&?onexpand',
collapseCb: '&?oncollapse',
id: '@?'
},
link: {
pre: function (scope, iElement, iAttrs) {
scope.allowMultiple = (angular.isDefined(iAttrs.multiple) && iAttrs.multiple === '');
scope.allowMultiple = (angular.isDefined(iAttrs.multiple) && (iAttrs.multiple === '' || iAttrs.multiple === 'true'));
},
post: function (scope, iElement, iAttrs, ctrl, transclude) {
transclude(scope.$parent.$new(), function (clone, transclusionScope) {
Expand Down
2 changes: 1 addition & 1 deletion dist/v-accordion.min.css

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

4 changes: 2 additions & 2 deletions dist/v-accordion.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "v-accordion",
"description": "vAccordion - AngularJS multi-level accordion component",
"version": "1.5.1",
"version": "1.5.2",
"author": "Łukasz Wątroba <l@lukaszwatroba.com>",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit fc45994

Please sign in to comment.