Skip to content

Commit

Permalink
fix docs namespace error (cocos2d#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
drelaptop authored and minggo committed Mar 7, 2018
1 parent 90c6bfd commit 807c842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ register_creator_reader_manual(L);
Use in lua
```lua
local creatorReader = cc.CreatorReader:createWithFilename('creator/CreatorSprites.ccreator')
local creatorReader = creator.CreatorReader:createWithFilename('creator/CreatorSprites.ccreator')
creatorReader:setup()
local scene = creatorReader:getSceneGraph()
cc.Director:getInstance():replaceScene(scene)
Expand Down

0 comments on commit 807c842

Please sign in to comment.