���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/dr.rickard.co/wp-content/plugins/elementor/app/modules/kit-library/assets/js/models/base-model.js
���ѧ٧ѧ�
export default class BaseModel { /** * Clone to object to avoid changing the reference. * * @return {BaseModel} cloned model */ clone() { const instance = new this.constructor(); Object.keys( this ).forEach( ( key ) => { instance[ key ] = this[ key ]; } ); return instance; } /** * Using init and not the default constructor because there is a problem to fill the instance * dynamically in the constructor. * * @param {*} data * @return {BaseModel} model */ init( data = {} ) { Object.entries( data ).forEach( ( [ key, value ] ) => { this[ key ] = value; } ); return this; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�