core: pass current prototype state to function's class extensions
core: pass current prototype state to function's class extensions

fateevv/basisjs,fateevv/basisjs,tyanas/basisjs,smelukov/basisjs,basisjs/basisjs,basisjs/basisjs,istrel/basisjs,smelukov/basisjs,istrel/basisjs,basisjs/basisjs,istrel/basisjs,tyanas/basisjs,smelukov/basisjs,tyanas/basisjs,fateevv/basisjs