Skip to content

Commit

Permalink
fix typo (cocos#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
SantyWang authored Jan 11, 2021
1 parent 00a1a97 commit 36af930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh/asset/dynamic-load-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

```typescript
// 加载 Prefab
resources.load("test assets/prefab", Prefab, function (err, prefab) => {
resources.load("test assets/prefab", Prefab, (err, prefab) => {
const newNode = instantiate(prefab);
this.node.addChild(newNode);
});
Expand Down

0 comments on commit 36af930

Please sign in to comment.