LOS ANGELES Joe Panik homered for the second straight game off closer Kenley Jansen, and the San Francisco Giants beat the error-prone Los Angeles Dodgers 1-0 on Friday night.