In section 1.3 p. 18 while working out the energy spectrum of quantum string Polchinski uses Lagrangian instead of Lagrangian density while in QFT the usual convention is to use Lagrangian density (to keep the covariance intact). With the convention used there, calculations are done using expressions that are integral of spatial coordinate $\int d \sigma$. Is there any reason to choose this odd way of solving the field-action-variation problem?
This same problem is done using the usual density route in Tong's note and Becker book.