Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsteele committed Sep 30, 2016
1 parent 5380991 commit 8f4a811
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions dist/ng-alerts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ng-alerts 1.0.4 2016-02-19 */
/*! ng-alerts 1.0.6 2016-09-30 */
'use strict';

angular.module('ngAlerts', ['ui.bootstrap'])
Expand Down Expand Up @@ -175,15 +175,23 @@ angular.module('ngAlerts').directive('ngAlertsPopover', [
priority: 1000,
link: function ($scope, $element, $attrs) {

$element.attr('uib-popover-template', 'templateUrl');
$element.attr('popover-is-open', 'isOpen');
if (!$attrs.uibPopoverTemplate) {
$element.attr('uib-popover-template', 'templateUrl');
}

if (!$attrs.popoverIsOpen) {
$element.attr('popover-is-open', 'isOpen');
}

$element.removeAttr('ng-alerts-popover');

if (!$attrs.popoverTrigger) {
$element.attr('popover-trigger', 'outsideClick');
}

$element.attr('popover-class', 'ng-alerts-popover-list');
if (!$attrs.popoverClass) {
$element.attr('popover-class', 'ng-alerts-popover-list');
}

$scope.templateUrl = 'template/ng-alerts/sub/popover-list.html';
$scope.emptyText = $attrs.emptyText;
Expand Down
2 changes: 1 addition & 1 deletion dist/ng-alerts.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,6 +1,6 @@
{
"name": "ng-alerts",
"version": "1.0.5",
"version": "1.0.6",
"description": "",
"main": "Gruntfile.js",
"scripts": {
Expand Down

0 comments on commit 8f4a811

Please sign in to comment.