a3c44b0 Rename variable `document` to `doc`

1 file Authored by stcg 2 years ago, Committed by Yuchen Pei 2 years ago,
    Rename variable `document` to `doc`
    
    This is done because shadowing the global variable `document` can lead
    to unexpected results.
    
        
file modified
+5 -5