Skip to content

Commit e7f4984

Browse files
authored
Merge pull request #1488 from jbampton/fix-spelling
Fix spelling
2 parents 34b1119 + dd7124b commit e7f4984

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Diff for: .github/pull_request_template.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
### optionals
1212

1313
- [ ] I have added entry in the `CHANGELOG.md`
14-
- [ ] If this PR needs a follow-up in **dash docs**, **community thread**, I have mentioned the relevant URLS as follow
15-
- [ ] this github [#PR number]() updates the dash docs
16-
- [ ] here is the show and tell thread in plotly dash community
14+
- [ ] If this PR needs a follow-up in **dash docs**, **community thread**, I have mentioned the relevant URLS as follows
15+
- [ ] this GitHub [#PR number]() updates the dash docs
16+
- [ ] here is the show and tell thread in Plotly Dash community

Diff for: dash-renderer/src/components/error/CallbackGraph/CallbackGraphContainer.react.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Cytoscape.use(dagre);
2424
Cytoscape.use(fcose);
2525

2626
/*
27-
* Generates all the elements (nodes, edeges) for the dependency graph.
27+
* Generates all the elements (nodes, edges) for the dependency graph.
2828
*/
2929
function generateElements(graphs, profile, extraLinks) {
3030
const consumed = [];
@@ -229,7 +229,7 @@ function CallbackGraph() {
229229
};
230230
}
231231

232-
// Adds callbacks once cyctoscape is intialized.
232+
// Adds callbacks once cyctoscape is initialized.
233233
useCytoscapeEffect(
234234
cy => {
235235
cytoscape.on('tap', 'node', e => setSelected(e.target));

Diff for: dash-renderer/src/components/error/CallbackGraph/CallbackGraphEffects.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {STATUS, STATUSMAP} from '../../../constants/constants';
66
* Finds all edges connected to a node and splits them by type.
77
*
88
* @param {Object} node - Cytoscape node.
9-
* @returns {Object} - Object contaiing the edges, sorted by type.
9+
* @returns {Object} - Object containing the edges, sorted by type.
1010
*/
1111
function getEdgeTypes(node) {
1212
const elements = node.connectedEdges();
@@ -30,7 +30,7 @@ export function updateSelectedNode(cy, id) {
3030
if (id) {
3131
const node = cy.getElementById(id);
3232

33-
// Highlght the selected node.
33+
// Highlight the selected node.
3434

3535
node.addClass('selected-node');
3636

@@ -112,7 +112,7 @@ export function updateChangedProps(cy, id, props, flashTime = 500) {
112112
*
113113
* @param {Object} cy - Reference to the cytoscape instance.
114114
* @param {String} id - The id of the callback (i.e., it's output identifier)
115-
* @param {Object} profile - The callback profiling infomration.
115+
* @param {Object} profile - The callback profiling information.
116116
* @param {Number} flashTime - The time to flash classes for in ms.
117117
* @returns {undefined}
118118
*/

Diff for: dash-renderer/src/observers/prioritizedCallbacks.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
114114
}
115115

116116
if (pickedAsyncCallbacks.length) {
117-
const deffered = map<IPrioritizedCallback, IBlockedCallback>(
117+
const deferred = map<IPrioritizedCallback, IBlockedCallback>(
118118
cb => ({
119119
...cb,
120120
...getStash(cb, paths),
@@ -126,7 +126,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
126126
dispatch(
127127
aggregateCallbacks([
128128
removePrioritizedCallbacks(pickedAsyncCallbacks),
129-
addBlockedCallbacks(deffered)
129+
addBlockedCallbacks(deferred)
130130
])
131131
);
132132

@@ -165,7 +165,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
165165
addExecutingCallbacks([executingCallback])
166166
])
167167
);
168-
}, deffered);
168+
}, deferred);
169169
}
170170
},
171171
inputs: ['callbacks.prioritized', 'callbacks.completed']

Diff for: dash-renderer/src/reducers/profile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const defaultState = {
2828
const profile = (state = defaultState, action) => {
2929
if (action.type === 'UPDATE_RESOURCE_USAGE') {
3030
// Keep a record of the most recent change. This
31-
// is subtly different from history.present becasue
31+
// is subtly different from history.present because
3232
// it watches all props, not just inputs.
3333
const {id, usage, status} = action.payload;
3434
const statusMapped = STATUSMAP[status] || status;

Diff for: tests/integration/test_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_inin008_index_customization(dash_duo):
151151
</footer>
152152
<div id="custom-footer">My custom footer</div>
153153
<script>
154-
// Test the formatting doesn"t mess up script tags.
154+
// Test the formatting doesn't mess up script tags.
155155
var elem = document.getElementById('add');
156156
if (!elem) {
157157
throw Error('could not find container to add');

0 commit comments

Comments
 (0)