Skip to content

Commit 195bb7c

Browse files
Merge pull request #644 from cdcabrera/issue-cleanup
Clean up for Non-breaking Changes
2 parents cbf373d + f7fe650 commit 195bb7c

File tree

30 files changed

+109
-108
lines changed

30 files changed

+109
-108
lines changed

src/canvas-view/canvas/canvas-viewmodel.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var pfCanvas = {};
5151
pfCanvas.computeConnectorPos = function(node, connectorIndex, inputConnector) {
5252
return {
5353
x: node.x() + (inputConnector ? 0 : node.width ? node.width() : pfCanvas.defaultNodeWidth),
54-
y: node.y() + pfCanvas.computeConnectorY(connectorIndex),
54+
y: node.y() + pfCanvas.computeConnectorY(connectorIndex)
5555
};
5656
};
5757

@@ -471,7 +471,7 @@ var pfCanvas = {};
471471
this.sourceCoord = function() {
472472
return {
473473
x: this.sourceCoordX(),
474-
y: this.sourceCoordY(),
474+
y: this.sourceCoordY()
475475
};
476476
};
477477

@@ -494,7 +494,7 @@ var pfCanvas = {};
494494
this.destCoord = function() {
495495
return {
496496
x: this.destCoordX(),
497-
y: this.destCoordY(),
497+
y: this.destCoordY()
498498
};
499499
};
500500

@@ -578,7 +578,7 @@ var pfCanvas = {};
578578
pfCanvas.computeConnectionSourceTangent = function(pt1, pt2) {
579579
return {
580580
x: pfCanvas.computeConnectionSourceTangentX(pt1, pt2),
581-
y: pfCanvas.computeConnectionSourceTangentY(pt1, pt2),
581+
y: pfCanvas.computeConnectionSourceTangentY(pt1, pt2)
582582
};
583583
};
584584

@@ -602,7 +602,7 @@ var pfCanvas = {};
602602
pfCanvas.computeConnectionDestTangent = function(pt1, pt2) {
603603
return {
604604
x: pfCanvas.computeConnectionDestTangentX(pt1, pt2),
605-
y: pfCanvas.computeConnectionDestTangentY(pt1, pt2),
605+
y: pfCanvas.computeConnectionDestTangentY(pt1, pt2)
606606
};
607607
};
608608

@@ -750,17 +750,17 @@ var pfCanvas = {};
750750

751751
startNode = {
752752
nodeID: startNode.data.id,
753-
connectorIndex: startConnectorIndex,
753+
connectorIndex: startConnectorIndex
754754
};
755755

756756
endNode = {
757757
nodeID: endNode.data.id,
758-
connectorIndex: endConnectorIndex,
758+
connectorIndex: endConnectorIndex
759759
};
760760

761761
var connectionDataModel = {
762762
source: startConnectorType === 'output' ? startNode : endNode,
763-
dest: startConnectorType === 'output' ? endNode : startNode,
763+
dest: startConnectorType === 'output' ? endNode : startNode
764764
};
765765
connectionsDataModel.push(connectionDataModel);
766766

src/card/basic/card.component.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@
5959
6060
$scope.data3 = {
6161
'used': '420',
62-
'total': '500',
62+
'total': '500'
6363
};
6464
6565
$scope.title4 = 'Disk Usage';
6666
$scope.units4 = 'TB';
6767
$scope.data4 = {
6868
'used': '350',
69-
'total': '500',
69+
'total': '500'
7070
};
7171
7272
$scope.title5 = 'Disk I/O';
7373
$scope.units5 = 'I/Ops';
7474
$scope.data5 = {
7575
'used': '450',
76-
'total': '500',
76+
'total': '500'
7777
};
7878
7979
$scope.layoutInline = {

src/card/examples/card-timeframe.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
'callBackFn': function () {
5757
alert("Footer Callback Fn Called");
5858
}
59-
}
59+
};
6060
6161
$scope.filterConfigHeader = {
6262
'filters' : [{label:'Last 30 Days', value:'30'},
@@ -66,7 +66,7 @@
6666
alert("Header Filter Callback Fn Called for '" + f.label + "' value = " + f.value);
6767
},
6868
'position' : 'header'
69-
}
69+
};
7070
7171
$scope.filterConfig = {
7272
'filters' : [{label:'Last 30 Days', value:'30'},
@@ -76,7 +76,7 @@
7676
alert("Filter Callback Fn Called for '" + f.label + "' value = " + f.value);
7777
},
7878
'defaultFilter' : '1'
79-
}
79+
};
8080
});
8181
</file>
8282
</example>

src/charts/c3/c3-chart.component.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
5454
$scope.getChart = function (chart) {
5555
$scope.chart = chart;
56-
}
56+
};
5757
5858
$scope.focusUsed = function () {
5959
$scope.chart.focus("Used");
60-
}
60+
};
6161
6262
$scope.updateAvailable = function (val) {
6363
$scope.available = $scope.total - $scope.used;
64-
}
64+
};
6565
6666
$scope.submitform = function (val) {
6767
console.log("submitform");

src/charts/topology/examples/topology-view.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"miq_id": 10000000000061,
107107
"status": "Unknown",
108108
"display_kind": "Service"
109-
},
109+
}
110110
},
111111
"relations": [
112112
{
@@ -186,7 +186,7 @@
186186
"icon": "",
187187
"fontfamily": "PatternFlyIcons-webfont"
188188
}
189-
},
189+
}
190190
});
191191
192192
$rootScope.data = datasets[index];

src/charts/utilization-bar/utilization-bar-chart.component.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,21 +107,21 @@
107107
108108
$scope.data3 = {
109109
'used': '420',
110-
'total': '500',
110+
'total': '500'
111111
};
112112
113113
$scope.title4 = 'Disk Usage';
114114
$scope.units4 = 'TB';
115115
$scope.data4 = {
116116
'used': '350',
117-
'total': '500',
117+
'total': '500'
118118
};
119119
120120
$scope.title5 = 'Disk I/O';
121121
$scope.units5 = 'I/Ops';
122122
$scope.data5 = {
123123
'used': '450',
124-
'total': '500',
124+
'total': '500'
125125
};
126126
127127
$interval(function () {

src/form/examples/form-buttons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
3434
<file name="script.js">
3535
angular.module( 'patternfly.form' ).controller( 'FormButtonCtrl', function( $scope, $timeout, $element ) {
36-
$scope.status = 'Not yet Saved'
36+
$scope.status = 'Not yet Saved';
3737
$scope.working = false;
3838
3939
$scope.save = function (item) {

src/form/remaining-chars-count/remaining-chars-count.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ angular.module('patternfly.form').directive('pfRemainingCharsCount', function ($
2424

2525
// creating scope vars for unit testing
2626
$scope.remainingChars = remainingChars;
27-
$scope.remainingCharsWarning = (remainingChars <= charsWarnRemaining ? true : false);
27+
$scope.remainingCharsWarning = (remainingChars <= charsWarnRemaining);
2828

2929
countRemainingFld.text(remainingChars);
3030
countRemainingFld.toggleClass('chars-warn-remaining-pf', remainingChars <= charsWarnRemaining);

src/modals/about-modal.component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
{ name: 'User Role', value: 'Administrator' }];
4545
$scope.open = function () {
4646
$scope.isOpen = true;
47-
}
47+
};
4848
$scope.onClose = function() {
4949
$scope.isOpen = false;
50-
}
50+
};
5151
});
5252
</file>
5353
</example>

src/navigation/vertical-navigation.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,5 +560,5 @@ angular.module('patternfly.navigation').component('pfVerticalNavigation', {
560560
routeChangeListener();
561561
}
562562
};
563-
},
563+
}
564564
});

0 commit comments

Comments
 (0)