The previous code checked if the first few lines of code were minified.
But some scripts start with a non-minified copyright, so this patch
checks the last few lines as well.
Change-Id: Idc517fc4253d107bfa219fc753cbe772ed8e3ac7
Reviewed-on: https://chromium-review.googlesource.com/1044865
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#556523}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: da508ffe6469d0fcabef3fedfcd364128e8c8f31