Skip to content

Commit d4937fc

Browse files
Merge branch 'master' into master-dist
2 parents 3e63a22 + 97febd1 commit d4937fc

File tree

44 files changed

+127
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+127
-124
lines changed

dist/angular-patternfly.js

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8633,36 +8633,37 @@ angular.module('patternfly.views').directive('pfListView', ["$timeout", "$window
86338633
}
86348634
});
86358635
})();
8636-
;function wizardButtonDirective (action) {
8636+
;(function () {
86378637
'use strict';
8638-
8639-
angular.module('patternfly.wizard')
8640-
.directive(action, function () {
8641-
return {
8642-
restrict: 'A',
8643-
require: '^pf-wizard',
8644-
scope: {
8645-
callback: "=?"
8646-
},
8647-
link: function ($scope, $element, $attrs, wizard) {
8648-
$element.on("click", function (e) {
8649-
e.preventDefault();
8650-
$scope.$apply(function () {
8651-
// scope apply in button module
8652-
$scope.$eval($attrs[action]);
8653-
wizard[action.replace("pfWiz", "").toLowerCase()]($scope.callback);
8638+
function pfWizardButtonDirective (action) {
8639+
angular.module('patternfly.wizard')
8640+
.directive(action, function () {
8641+
return {
8642+
restrict: 'A',
8643+
require: '^pf-wizard',
8644+
scope: {
8645+
callback: "=?"
8646+
},
8647+
link: function ($scope, $element, $attrs, wizard) {
8648+
$element.on("click", function (e) {
8649+
e.preventDefault();
8650+
$scope.$apply(function () {
8651+
// scope apply in button module
8652+
$scope.$eval($attrs[action]);
8653+
wizard[action.replace("pfWiz", "").toLowerCase()]($scope.callback);
8654+
});
86548655
});
8655-
});
8656-
}
8657-
};
8658-
});
8659-
}
8656+
}
8657+
};
8658+
});
8659+
}
86608660

8661-
wizardButtonDirective('pfWizNext');
8662-
wizardButtonDirective('pfWizPrevious');
8663-
wizardButtonDirective('pfWizFinish');
8664-
wizardButtonDirective('pfWizCancel');
8665-
wizardButtonDirective('pfWizReset');
8661+
pfWizardButtonDirective('pfWizNext');
8662+
pfWizardButtonDirective('pfWizPrevious');
8663+
pfWizardButtonDirective('pfWizFinish');
8664+
pfWizardButtonDirective('pfWizCancel');
8665+
pfWizardButtonDirective('pfWizReset');
8666+
})();
86668667
;/**
86678668
* @ngdoc directive
86688669
* @name patternfly.wizard.directive:pfWizard

dist/angular-patternfly.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/grunt-scripts/angular-patternfly.js

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8633,36 +8633,37 @@ angular.module('patternfly.views').directive('pfListView', ["$timeout", "$window
86338633
}
86348634
});
86358635
})();
8636-
;function wizardButtonDirective (action) {
8636+
;(function () {
86378637
'use strict';
8638-
8639-
angular.module('patternfly.wizard')
8640-
.directive(action, function () {
8641-
return {
8642-
restrict: 'A',
8643-
require: '^pf-wizard',
8644-
scope: {
8645-
callback: "=?"
8646-
},
8647-
link: function ($scope, $element, $attrs, wizard) {
8648-
$element.on("click", function (e) {
8649-
e.preventDefault();
8650-
$scope.$apply(function () {
8651-
// scope apply in button module
8652-
$scope.$eval($attrs[action]);
8653-
wizard[action.replace("pfWiz", "").toLowerCase()]($scope.callback);
8638+
function pfWizardButtonDirective (action) {
8639+
angular.module('patternfly.wizard')
8640+
.directive(action, function () {
8641+
return {
8642+
restrict: 'A',
8643+
require: '^pf-wizard',
8644+
scope: {
8645+
callback: "=?"
8646+
},
8647+
link: function ($scope, $element, $attrs, wizard) {
8648+
$element.on("click", function (e) {
8649+
e.preventDefault();
8650+
$scope.$apply(function () {
8651+
// scope apply in button module
8652+
$scope.$eval($attrs[action]);
8653+
wizard[action.replace("pfWiz", "").toLowerCase()]($scope.callback);
8654+
});
86548655
});
8655-
});
8656-
}
8657-
};
8658-
});
8659-
}
8656+
}
8657+
};
8658+
});
8659+
}
86608660

8661-
wizardButtonDirective('pfWizNext');
8662-
wizardButtonDirective('pfWizPrevious');
8663-
wizardButtonDirective('pfWizFinish');
8664-
wizardButtonDirective('pfWizCancel');
8665-
wizardButtonDirective('pfWizReset');
8661+
pfWizardButtonDirective('pfWizNext');
8662+
pfWizardButtonDirective('pfWizPrevious');
8663+
pfWizardButtonDirective('pfWizFinish');
8664+
pfWizardButtonDirective('pfWizCancel');
8665+
pfWizardButtonDirective('pfWizReset');
8666+
})();
86668667
;/**
86678668
* @ngdoc directive
86688669
* @name patternfly.wizard.directive:pfWizard

dist/docs/partials/api/patternfly.autofocus.pfFocused.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/autofocus/autofocus.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/df5af8b/src/autofocus/autofocus.js#L39" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfFocused</code>
1+
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/autofocus/autofocus.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/7635f3e/src/autofocus/autofocus.js#L39" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfFocused</code>
22
<div><span class="hint">directive in module <code ng:non-bindable="">patternfly</code>
33
</span>
44
</div>

dist/docs/partials/api/patternfly.card.directive.pfAggregateStatusCard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/aggregate-status/aggregate-status-card.directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/df5af8b/src/card/aggregate-status/aggregate-status-card.directive.js#L132" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfAggregateStatusCard</code>
1+
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/aggregate-status/aggregate-status-card.directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/7635f3e/src/card/aggregate-status/aggregate-status-card.directive.js#L132" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfAggregateStatusCard</code>
22
<div><span class="hint">directive in module <code ng:non-bindable="">patternfly.card</code>
33
</span>
44
</div>

dist/docs/partials/api/patternfly.card.directive.pfCard - Timeframe Filters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/examples/card-timeframe.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/df5af8b/src/card/examples/card-timeframe.js#L82" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfCard - Timeframe Filters</code>
1+
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/examples/card-timeframe.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/7635f3e/src/card/examples/card-timeframe.js#L82" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfCard - Timeframe Filters</code>
22
<div><span class="hint">directive in module <code ng:non-bindable="">patternfly.card</code>
33
</span>
44
</div>

dist/docs/partials/api/patternfly.card.directive.pfCard - Trends.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/examples/card-trend.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/df5af8b/src/card/examples/card-trend.js#L146" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfCard - Trends</code>
1+
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/examples/card-trend.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/7635f3e/src/card/examples/card-trend.js#L146" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfCard - Trends</code>
22
<div><span class="hint">directive in module <code ng:non-bindable="">patternfly.card</code>
33
</span>
44
</div>

dist/docs/partials/api/patternfly.card.directive.pfCard - Utilization.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/basic/card.directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/df5af8b/src/card/basic/card.directive.js#L86" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfCard - Utilization</code>
1+
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/card/basic/card.directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/7635f3e/src/card/basic/card.directive.js#L86" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfCard - Utilization</code>
22
<div><span class="hint">directive in module <code ng:non-bindable="">patternfly.card</code>
33
</span>
44
</div>

dist/docs/partials/api/patternfly.charts.directive.pfC3Chart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/charts/c3/c3-chart.directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/df5af8b/src/charts/c3/c3-chart.directive.js#L75" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfC3Chart</code>
1+
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/charts/c3/c3-chart.directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/7635f3e/src/charts/c3/c3-chart.directive.js#L75" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfC3Chart</code>
22
<div><span class="hint">directive in module <code ng:non-bindable="">patternfly.charts</code>
33
</span>
44
</div>

dist/docs/partials/api/patternfly.charts.directive.pfDonutPctChart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/charts/donut/donut-pct-chart-directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/df5af8b/src/charts/donut/donut-pct-chart-directive.js#L260" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfDonutPctChart</code>
1+
<a href="https://github.com/patternfly/angular-patternfly/edit/master/src/charts/donut/donut-pct-chart-directive.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/patternfly/angular-patternfly/blob/7635f3e/src/charts/donut/donut-pct-chart-directive.js#L260" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">pfDonutPctChart</code>
22
<div><span class="hint">directive in module <code ng:non-bindable="">patternfly.charts</code>
33
</span>
44
</div>

0 commit comments

Comments
 (0)