Need to check that createShadow actually created a shadow before adding the classes. Simplify the code too.
Need to check that createShadow actually created a shadow before adding the classes. Simplify the code too.

eriksjaastad/Leaflet,jblarsen/Leaflet,nycitt/Leaflet,Srikanth4/Leaflet,sambernet/Leaflet,thalesfsp/Leaflet,tbassett44/Leaflet,msiadak/Leaflet,wrrnwng/Leaflet,akauppi/Leaflet,frogcat/Leaflet,mstahv/Leaflet,AP-whitehat/Leaflet,sambernet/Leaflet,nathancahill/Leaflet,davidlukerice/Leaflet,Neorth/Leaflet,mourner/Leaflet,webmechanicx/Leaflet,AP-whitehat/Leaflet,jblarsen/Leaflet,elkingtonmcb/Leaflet,Andrey-Pavlov/Leaflet,elfalem/Leaflet,waeltken/Leaflet,beni55/Leaflet,sellonen/Leaflet,prashen/Leaflet,twoubt/Leaflet,olafurr/Leaflet,lizardtechblog/Leaflet,hyperknot/Leaflet,twoubt/Leaflet,stefanocudini/Leaflet,cartant/Leaflet,thalesfsp/Leaflet,taraszerebecki/Leaflet,northerneyes/Leaflet,Jakobud/Leaflet,yohanboniface/Leaflet,frogcat/Leaflet,RLRR/Leaflet,fillerwriter/Leaflet,jasonoverland/Leaflet,Neorth/Leaflet,webmechanicx/Leaflet,akauppi/Leaflet,huangsong/Leaflet,w8r/Leaflet,Fil/Leaflet,bolshoibooze/Leaflet,iamjonbradley/Leaflet,beni55/Leaflet,jasonoverland/Leaflet,andrewmartini/Leaflet,jasonoverland/Leaflet,davojta/Leaflet,RyanHickman/Leaflet,davojta/Leaflet,akrzyzanowskino/TeamSE,snkashis/Leaflet,ismyrnow/Leaflet,brah/Leaflet,dhootha/Leaflet,2gis/Leaflet,fab1an/Leaflet,javimolla/Leaflet,nvoron23/Leaflet,thalesfsp/Leaflet,bolshoibooze/Leaflet,CorainChicago/Leaflet,caiiiycuk/Leaflet,yohanboniface/Leaflet,mbrukman/Leaflet,akrzyzanowskino/TeamSE,taraszerebecki/Leaflet,jmutua2015/Leaflet,cmulders/Leaflet,codeator/Leaflet,tsantacruz/RotationalMarker,nycitt/Leaflet,Trufi/Leaflet,nikhildhamsaniya/Leaflet,northerneyes/Leaflet,Ossehoht/Leaflet,RobertoMalatesta/Leaflet,bbecquet/Leaflet,RobertoMalatesta/Leaflet,Leaflet/Leaflet,kumy/Leaflet,AndBicScadMedia/Leaflet,mbrukman/Leaflet,frafra/ProntoSoccorsoLiguria,Ossehoht/Leaflet,CapeSepias/Leaflet,davidlukerice/Leaflet,kumy/Leaflet,jaropolk2/Leaflet,kjell/Leaflet,tomnod/Leaflet,fredericksilva/Leaflet,rlugojr/Leaflet,wancharle/Leaflet,billybonz1/Leaflet,davidlukerice/Leaflet,elfalem/Leaflet,psicomante/Leaflet,pakro/Leaflet,fredericksilva/Leaflet,codeator/Leaflet,hyperknot/Leaflet,yohanboniface/Leaflet,Jakobud/Leaflet,juliensoret/Leaflet,tbassett44/Leaflet,tomnod/Leaflet,bbecquet/Leaflet,mediasuitenz/Leaflet,elfalem/Leaflet,Leaflet/Leaflet,sisou/Leaflet,mediasuitenz/Leaflet,jblarsen/Leaflet,billybonz1/Leaflet,davojta/Leaflet,twoubt/Leaflet,cartant/Leaflet,kjell/Leaflet,perliedman/Leaflet,Ubisense/Leaflet,cartant/Leaflet,alex2wong/Leaflet,brah/Leaflet,geoloep/Leaflet,jmutua2015/Leaflet,kumy/Leaflet,rlugojr/Leaflet,patrickarlt/Leaflet,RLRR/Leaflet,dhootha/Leaflet,tyrasd/Leaflet,huangsong/Leaflet,CorainChicago/Leaflet,javimolla/Leaflet,pzdz/Leaflet,nycitt/Leaflet,iamjonbradley/Leaflet,taraszerebecki/Leaflet,elkingtonmcb/Leaflet,2gis/Leaflet,prashen/Leaflet,klaftertief/Leaflet,msiadak/Leaflet,hyperknot/Leaflet,gabrielpconceicao/frontend-asset-leaflet,gabrielpconceicao/frontend-asset-leaflet,davidjb/Leaflet,psicomante/Leaflet,wancharle/Leaflet,fab1an/Leaflet,javimolla/Leaflet,nikhildhamsaniya/Leaflet,codeator/Leaflet,Srikanth4/Leaflet,che603000/Leaflet,sellonen/Leaflet,2gis/Leaflet,eriksjaastad/Leaflet,danzel/Leaflet,MuellerMatthew/Leaflet,iZucken/Leaflet,starsolaris/Leaflet,moklick/Leaflet,fillerwriter/Leaflet,lee101/Leaflet,frafra/ProntoSoccorsoLiguria,psicomante/Leaflet,RobertoMalatesta/Leaflet,Leaflet/Leaflet,sambernet/Leaflet,tormi/Leaflet,iamjonbradley/Leaflet,fredericksilva/Leaflet,tsantacruz/RotationalMarker,billybonz1/Leaflet,bolshoibooze/Leaflet,sellonen/Leaflet,nkovacs/Leaflet,msokk/Leaflet,CorainChicago/Leaflet,mbrukman/Leaflet,DrillingInfo/Leaflet,Trufi/Leaflet,olafurr/Leaflet,MuellerMatthew/Leaflet,mstahv/Leaflet,andrewmartini/Leaflet,gabrielpconceicao/frontend-asset-leaflet,jmutua2015/Leaflet,scaddenp/Leaflet,Ubisense/Leaflet,pzdz/Leaflet,olafurr/Leaflet,andrewmartini/Leaflet,wpf500/Leaflet,devjoseluis/Leaflet,Ubisense/Leaflet,pakro/Leaflet,wrrnwng/Leaflet,waeltken/Leaflet,brah/Leaflet,sisou/Leaflet,pakro/Leaflet,caiiiycuk/Leaflet,juliensoret/Leaflet,iOffice/Leaflet,msokk/Leaflet,w8r/Leaflet,geoloep/Leaflet,scaddenp/Leaflet,wrrnwng/Leaflet,litnerdy/Leaflet,devjoseluis/Leaflet,wancharle/Leaflet,akrzyzanowskino/TeamSE,lee101/Leaflet,nathancahill/Leaflet,azimux/Leaflet,cmulders/Leaflet,akauppi/Leaflet,CapeSepias/Leaflet,wpf500/Leaflet,RLRR/Leaflet,Mark-Wood/Leaflet,Fil/Leaflet,nvoron23/Leaflet,RyanHickman/Leaflet,Andrey-Pavlov/Leaflet,elkingtonmcb/Leaflet,che603000/Leaflet,Ossehoht/Leaflet,stefanocudini/Leaflet,Trufi/Leaflet,litnerdy/Leaflet,iOffice/Leaflet,nikhildhamsaniya/Leaflet,brunocasanova/frontend-asset-leaflet,frogcat/Leaflet,w8r/Leaflet,patrickarlt/Leaflet,cmulders/Leaflet,iZucken/Leaflet,prashen/Leaflet,geoloep/Leaflet,klaftertief/Leaflet,AP-whitehat/Leaflet,eriksjaastad/Leaflet,DrillingInfo/Leaflet,iOffice/Leaflet,tormi/Leaflet,devjoseluis/Leaflet,rlugojr/Leaflet,huangsong/Leaflet,dhootha/Leaflet,AndBicScadMedia/Leaflet,Mark-Wood/Leaflet,starsolaris/Leaflet,msiadak/Leaflet,wpf500/Leaflet,tsantacruz/RotationalMarker,MuellerMatthew/Leaflet,srdavis/leaflet-template,starsolaris/Leaflet,mstahv/Leaflet,snkashis/Leaflet,webmechanicx/Leaflet,stefanocudini/Leaflet,tormi/Leaflet,iZucken/Leaflet,fillerwriter/Leaflet,tomnod/Leaflet,litnerdy/Leaflet,Neorth/Leaflet,scaddenp/Leaflet,Jakobud/Leaflet,tbassett44/Leaflet,mourner/Leaflet,snkashis/Leaflet,msokk/Leaflet,caiiiycuk/Leaflet,nathancahill/Leaflet,Srikanth4/Leaflet,Andrey-Pavlov/Leaflet,lee101/Leaflet,CapeSepias/Leaflet,grahamthompson/Leaflet,waeltken/Leaflet,AndBicScadMedia/Leaflet,grahamthompson/Leaflet,grahamthompson/Leaflet,mourner/Leaflet,brunocasanova/frontend-asset-leaflet,mediasuitenz/Leaflet,nkovacs/Leaflet,sisou/Leaflet,bbecquet/Leaflet,klaftertief/Leaflet,CloudMade/Leaflet,beni55/Leaflet,alex2wong/Leaflet,alex2wong/Leaflet,RyanHickman/Leaflet,pzdz/Leaflet,Fil/Leaflet,brunocasanova/frontend-asset-leaflet,fab1an/Leaflet