mirror of
https://github.com/liabru/matter-js.git
synced 2025-03-14 00:38:41 -04:00
Updated Creating plugins (markdown)
parent
735e044d60
commit
ad3761ef57
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ var MyPlugin = {
|
|||
something: true
|
||||
},
|
||||
|
||||
install: function(base) {
|
||||
// patch the Matter namespace here
|
||||
install: function(matter) {
|
||||
// patch `matter` here (not the global Matter object)
|
||||
},
|
||||
|
||||
// implement your plugin functions etc...
|
||||
|
|
Loading…
Add table
Reference in a new issue