fix: common misspelling errors
https://github.com/outline/outline/blob/master/app/scenes/UserDelete.js#L40: corrected "destory" to "destroy" https://github.com/outline/outline/blob/master/app/components/ScrollToTop.js#L16: corrected "postion" to "position" https://github.com/outline/outline/blob/master/server/policies/document.js#L11: corrected "existance" to "existence" https://github.com/outline/outline/blob/master/server/policies/document.js#L23: corrected "existance" to "existence" https://github.com/outline/outline/blob/master/server/models/Document.js#L493: corrected "permanantly" to "permanently" https://github.com/outline/outline/blob/master/shared/utils/domains.js#L12: corrected "unneccessarily" to "unnecessarily" https://github.com/outline/outline/blob/master/server/api/documents.js#L34: corrected "compatablity" to "compatibility"
This commit is contained in:
committed by
GitHub
parent
d5b5d4fc27
commit
24448c7504
@@ -9,7 +9,7 @@ type Domain = {
|
||||
|
||||
// we originally used the parse-domain npm module however this includes
|
||||
// a large list of possible TLD's which increase the size of the bundle
|
||||
// unneccessarily for our usecase of trusted input.
|
||||
// unnecessarily for our usecase of trusted input.
|
||||
export function parseDomain(url: string): ?Domain {
|
||||
if (typeof url !== "string") return null;
|
||||
if (url === "") return null;
|
||||
|
||||
Reference in New Issue
Block a user