mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-13 18:21:51 +00:00
Fix typo
This commit is contained in:
parent
ce0c2c4977
commit
2ac34665b3
@ -391,12 +391,10 @@ export class ModInterface {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Object} obj
|
||||
* @param {Object} prototype
|
||||
* @param {({ $super, $old }) => any} extender
|
||||
*/
|
||||
extendObject(obj, extender) {
|
||||
const prototype = obj.prototype;
|
||||
|
||||
extendObject(prototype, extender) {
|
||||
const $super = Object.getPrototypeOf(prototype);
|
||||
const $old = {};
|
||||
const extensionMethods = extender({ $super, $old });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user