Debugging JavaScript minification errors (in Liferay 6.2)
问题 Liferay 6.2. tries to use best practices and JS minification is one of them. But what do you do when your unminified JavaScript works and minification produces errors like this (in Tomcat console): 12:23:48,794 ERROR [http-bio-8080-exec-10][MinifierUtil:111] 607: 21: identifier is a reserved word 12:23:48,797 ERROR [http-bio-8080-exec-10][MinifierUtil:111] 608: 45: identifier is a reserved word 12:23:48,802 ERROR [http-bio-8080-exec-10][MinifierUtil:111] 1: 0: Compilation produced 2 syntax