Skip to content

Commit

Permalink
fix: Correct license headers in compiled output
Browse files Browse the repository at this point in the history
It seems that the `!` in the header forces the compiler to keep it in
the output.  I believe older compiler releases did this purely based
on `@license`.

Issue #2638

This is a minimal backport to v2.5.x which only touches the compiled
wrapper.

Change-Id: I7f0e918caad10c9af689c9d07672b7fe9be7b2f3
  • Loading branch information
joeyparrish committed Jun 10, 2020
1 parent 33ba727 commit a4bae25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/wrapper.template.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*! @license
* Shaka Player
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

(function() {
// This is "window" in browsers and "global" in nodejs.
// See https://github.com/google/shaka-player/issues/1445
Expand Down

0 comments on commit a4bae25

Please sign in to comment.