Files
Unify/framework/unify/unify.js
2025-12-25 11:16:59 +01:00

50 lines
878 B
JavaScript

/*
Copyright (c) 2020, 2023, The Unified Company.
This code is part of Unify.
This program is free software; you can redistribute it and/or modify
it under the terms of the ESA Software Community License - Strong Copyleft LICENSE,
as published by the ESA.
See the ESA Software Community License - Strong Copyleft LICENSE, for more details.
https://unifyjs.org
*/
import defaultObject from './defaultObject.js';
class unify{
//defaultObjectInstance = new defaultObject();
extendTree( object ) {
var defaultObjectInstance = new defaultObject();
defaultObjectInstance.agregateDefaultObject( object );
}
extend( object, force = false ) {
var defaultObjectInstance = new defaultObject();
if( defaultObjectInstance.exposeMethodsToObject( object, force ) ) {
return true;
} else {
return false;
}
}
}
export default new unify();