There was an error while loading. Please reload this page.
1 parent d916a8c commit 3a0de66Copy full SHA for 3a0de66
Example/Facade-Pattern.js
@@ -1 +1,9 @@
1
-// 外观模式(Facade Pattern)
+// 外观模式(Facade Pattern)
2
+
3
+// 通过一个接口封装其他接口
4
+let mobileEvent = {
5
+ stop: (e) => {
6
+ e.preventDefault()
7
+ e.stopPropagation()
8
+ }
9
+}
0 commit comments