-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
41 lines (37 loc) · 1.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!--
* @Author: junchao
* @Date: 2019-07-31 17:13:57
* @LastEditTime: 2020-12-22 14:20:34
* @LastEditors: junchao
* @Description:
* @FilePath: /JavaScriptDesignPatterns/index.html
* @symbol_custom_string_obkoro1: 可以输入预定的版权声明、个性签名、空行等
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>设计模式</title>
</head>
<body>
<!-- <div>
输入:<input />
</div>
<div>
输出:<span></span>
</div> -->
</body>
<!-- 不使用代理模式实现 -->
<!-- <script src="./proxy_pattern/nonuse_proxy.js"></script> -->
<!-- 使用代理模式实现 -->
<script src="./proxy_pattern/use_proxy.js"></script>
<!-- 观察者模式实现 -->
<!-- <script src="./observer_pattern/observer.js"></script> -->
<!-- 策略模式实现价格计算 -->
<!-- <script src="./strategic_pattern/use_statategic1.js"></script> -->
<!-- 策略模式实输入校验 -->
<!-- <script src="./strategic_pattern/use_statategic2.js"></script> -->
<script src="./proxy_pattern2/index2.js"></script>
</html>