Sha256: 2ff8d5904add5f33b3920fb990f3256d41c7678e3c5a54b62d3d9c0b67fd02ec
Contents?: true
Size: 1.03 KB
Versions: 3
Compression:
Stored size: 1.03 KB
Contents
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['./Interface','./Metadata',"sap/base/Log"],function(I,M,L){"use strict";var B=M.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof B)){throw Error("Cannot instantiate object: \"new\" is missing!");}}});B.prototype.destroy=function(){};B.prototype.getInterface=function(){var i=new I(this,this.getMetadata().getAllPublicMethods());this.getInterface=function(){return i;};return i;};B.defineClass=function(c,s,F){var m=new(F||M)(c,s);var C=m.getClass();C.getMetadata=C.prototype.getMetadata=function(){return m;};if(!m.isFinal()){C.extend=function(S,o,f){return M.createClass(C,S,o,f||F);};}L.debug("defined class '"+c+"'"+(m.getParent()?" as subclass of "+m.getParent().getName():""));return m;};B.prototype.isA=function(t){return this.getMetadata().isA(t);};B.isA=function(o,t){return o instanceof B&&o.isA(t);};return B;},true);
Version data entries
3 entries across 3 versions & 1 rubygems