actionsheet unit test

This commit is contained in:
cookfront
2017-04-12 12:01:44 +08:00
parent b207efe729
commit 7c75f48eaa
12 changed files with 130 additions and 36 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import merge from 'src/utils/merge';
let context;
if (window && window.popupContext) {
context = window.popupContext
context = window.popupContext;
}
const DEFAULT_CONTEXT = {
@@ -11,7 +11,7 @@ const DEFAULT_CONTEXT = {
hasModal: false,
instances: {},
modalStack: []
}
};
context = window.popupContext = merge({}, DEFAULT_CONTEXT, context);