mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-14 02:31: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
|
* @param {({ $super, $old }) => any} extender
|
||||||
*/
|
*/
|
||||||
extendObject(obj, extender) {
|
extendObject(prototype, extender) {
|
||||||
const prototype = obj.prototype;
|
|
||||||
|
|
||||||
const $super = Object.getPrototypeOf(prototype);
|
const $super = Object.getPrototypeOf(prototype);
|
||||||
const $old = {};
|
const $old = {};
|
||||||
const extensionMethods = extender({ $super, $old });
|
const extensionMethods = extender({ $super, $old });
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user