Skip to content

Fix spelling #1488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
### optionals

- [ ] I have added entry in the `CHANGELOG.md`
- [ ] If this PR needs a follow-up in **dash docs**, **community thread**, I have mentioned the relevant URLS as follow
- [ ] this github [#PR number]() updates the dash docs
- [ ] here is the show and tell thread in plotly dash community
- [ ] If this PR needs a follow-up in **dash docs**, **community thread**, I have mentioned the relevant URLS as follows
- [ ] this GitHub [#PR number]() updates the dash docs
- [ ] here is the show and tell thread in Plotly Dash community
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Cytoscape.use(dagre);
Cytoscape.use(fcose);

/*
* Generates all the elements (nodes, edeges) for the dependency graph.
* Generates all the elements (nodes, edges) for the dependency graph.
*/
function generateElements(graphs, profile, extraLinks) {
const consumed = [];
Expand Down Expand Up @@ -229,7 +229,7 @@ function CallbackGraph() {
};
}

// Adds callbacks once cyctoscape is intialized.
// Adds callbacks once cyctoscape is initialized.
useCytoscapeEffect(
cy => {
cytoscape.on('tap', 'node', e => setSelected(e.target));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {STATUS, STATUSMAP} from '../../../constants/constants';
* Finds all edges connected to a node and splits them by type.
*
* @param {Object} node - Cytoscape node.
* @returns {Object} - Object contaiing the edges, sorted by type.
* @returns {Object} - Object containing the edges, sorted by type.
*/
function getEdgeTypes(node) {
const elements = node.connectedEdges();
Expand All @@ -30,7 +30,7 @@ export function updateSelectedNode(cy, id) {
if (id) {
const node = cy.getElementById(id);

// Highlght the selected node.
// Highlight the selected node.

node.addClass('selected-node');

Expand Down Expand Up @@ -112,7 +112,7 @@ export function updateChangedProps(cy, id, props, flashTime = 500) {
*
* @param {Object} cy - Reference to the cytoscape instance.
* @param {String} id - The id of the callback (i.e., it's output identifier)
* @param {Object} profile - The callback profiling infomration.
* @param {Object} profile - The callback profiling information.
* @param {Number} flashTime - The time to flash classes for in ms.
* @returns {undefined}
*/
Expand Down
6 changes: 3 additions & 3 deletions dash-renderer/src/observers/prioritizedCallbacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
}

if (pickedAsyncCallbacks.length) {
const deffered = map<IPrioritizedCallback, IBlockedCallback>(
const deferred = map<IPrioritizedCallback, IBlockedCallback>(
cb => ({
...cb,
...getStash(cb, paths),
Expand All @@ -126,7 +126,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
dispatch(
aggregateCallbacks([
removePrioritizedCallbacks(pickedAsyncCallbacks),
addBlockedCallbacks(deffered)
addBlockedCallbacks(deferred)
])
);

Expand Down Expand Up @@ -165,7 +165,7 @@ const observer: IStoreObserverDefinition<IStoreState> = {
addExecutingCallbacks([executingCallback])
])
);
}, deffered);
}, deferred);
}
},
inputs: ['callbacks.prioritized', 'callbacks.completed']
Expand Down
2 changes: 1 addition & 1 deletion dash-renderer/src/reducers/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const defaultState = {
const profile = (state = defaultState, action) => {
if (action.type === 'UPDATE_RESOURCE_USAGE') {
// Keep a record of the most recent change. This
// is subtly different from history.present becasue
// is subtly different from history.present because
// it watches all props, not just inputs.
const {id, usage, status} = action.payload;
const statusMapped = STATUSMAP[status] || status;
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_inin008_index_customization(dash_duo):
</footer>
<div id="custom-footer">My custom footer</div>
<script>
// Test the formatting doesn"t mess up script tags.
// Test the formatting doesn't mess up script tags.
var elem = document.getElementById('add');
if (!elem) {
throw Error('could not find container to add');
Expand Down