Changing "do a thing" to less colloquial lang

This commit is contained in:
Michelle Scharlock
2018-09-13 10:43:44 -07:00
committed by GitHub
parent 7482d84a2c
commit 14d170f2f2
+4 -4
View File
@@ -4,7 +4,7 @@ Copyright (c) Microsoft Corporation
*/
OfficeRuntime.AsyncStorage.getItem("foo", () => {
//do a thing
//perform an action
})
OfficeRuntime.AsyncStorage.getItem("foo").then(value => console.log(value))
@@ -13,12 +13,12 @@ OfficeRuntime.AsyncStorage.setItem("foo", "bar").then(error => console.log(error
OfficeRuntime.AsyncStorage.removeItem("foo");
OfficeRuntime.AsyncStorage.removeItem("foo", () => {
//do a thing
//perform an action
})
OfficeRuntime.AsyncStorage.clear();
OfficeRuntime.AsyncStorage.clear(() => {
//do a thing
//perform an action
})
OfficeRuntime.AsyncStorage.getAllKeys().then(keys => {
@@ -74,4 +74,4 @@ OfficeRuntime.displayWebDialog("https://localhost:3000", {
console.log(error);
dialog.close();
}
})
})