Skip to content

Commit e5e79e5

Browse files
committed
Update demo to account for removed strategy
1 parent 2c1bb5d commit e5e79e5

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

demo/demo.controller.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
vm.legislativeOverride = null;
2424
vm.tableDiffNumber = 1;
2525
vm.tableDiffing = true;
26-
vm.tableDiffingStrategy = 'matching';
2726
vm.editorOptions = {};
2827
vm.ckEditorEnabled = true;
2928

@@ -171,8 +170,7 @@
171170
oldText: vm.oldText,
172171
newText: vm.newText,
173172
matchThreshold: vm.matchThreshold,
174-
tableDiffing: vm.tableDiffing,
175-
tableDiffingStrategy: vm.tableDiffingStrategy
173+
tableDiffing: vm.tableDiffing
176174
})
177175
.then(function (response) {
178176
vm.diff = response.data.hasOwnProperty('diff') ? response.data.diff : response.data;

demo/demo.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,6 @@
102102
</label>
103103
</div>
104104

105-
<div class="form-group">
106-
<select ng-model="vm.tableDiffingStrategy">
107-
<option value="matching">Matching</option>
108-
<option value="relative">Relative</option>
109-
</select>
110-
</div>
111-
112105
<!-- Swap Text Button -->
113106
<button type="button" class="btn btn-secondary btn-sm" ng-click="vm.swapText()">Swap Text</button>
114107

0 commit comments

Comments
 (0)