basis.template: fix exception when using b:ref attribute
basis.template: fix exception when using b:ref attribute

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