Don't waste performance when there is no page break before function
Don't waste performance when there is no page break before function

Might improve #280.

mweslander/pdfmake,Novlr/pdfmake,Novlr/pdfmake,Nishi-Inc/pdfmake,pfarnach/pdfmake,mdoelker/pdfmake,mdoelker/pdfmake,naoa/pdfmake,bavellone/pdfmake,wbswbs/pdfmake,Intia/pdfmake,jiusanzhou/pdfmake,dennisrjohn/pdfmake,jodeng110/udpcloud-pdfmake,Nishi-Inc/pdfmake,atsuyim/pdfmake,wbswbs/pdfmake,bavellone/pdfmake,naoa/pdfmake,atsuyim/pdfmake,TW-QEN/pdfmake,compact/pdfmake,mubassirhayat/pdfmake,Intia/pdfmake,dennisrjohn/pdfmake,tanem/pdfmake,jodeng110/udpcloud-pdfmake,mweslander/pdfmake,TW-QEN/pdfmake,compact/pdfmake,mubassirhayat/pdfmake,jiusanzhou/pdfmake,tanem/pdfmake,pfarnach/pdfmake