# 手撕ZoneJs源码 **Repository Path**: leeyamaster/zonejs-source ## Basic Information - **Project Name**: 手撕ZoneJs源码 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-02 - **Last Updated**: 2026-03-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Mini Zone.js 一个用于学习 Zone.js 原理的 mini 实现。 ## 文件结构 ``` ├── src/zone.js # 核心实现 ├── examples/ │ ├── 01-monkey-patch.html # 猴子补丁 │ ├── 02-scope.html # 作用域 │ └── 03-task-done.html # 判断异步是否全部完成 ├── blog.md # 学习笔记 └── README.md ``` ## 运行 ```bash npx serve . # 访问 http://localhost:3000/examples/01-monkey-patch.html # 访问 http://localhost:3000/examples/02-scope.html # 访问 http://localhost:3000/examples/03-task-done.html ``` ## 学习 详见 [blog.md](./blog.md),包含三个板块:猴子补丁、作用域、判断异步是否全部完成。