Commit Graph

13 Commits

Author SHA1 Message Date
Joey Parrish 4cc4e96dbd Overhaul license comments and file annotations
* Updates all Copyright years to 2015.
* Adds licenses annotations to all JS.
* Makes all licenses identical to avoid repeated appearance in the
  compiled output.
* Drops fileoverview annotations, which do not affect docs output.
* The linter still requires fileoverview on externs.

This patch required a newer closure compiler, since the previous
version we used had a bug regarding license annotations that caused
the license comment block to appear in the output once per file
regardless of uniqueness.

Change-Id: I2e9272db680cba7ecc4613d97f1d3a94ac2244cc
2015-09-08 12:02:34 -07:00
Joey Parrish 4d9177240a Revert "Adding license annotation to js files."
This reverts commit 8cb24652cb, due to
the fact that the new annotations caused our binary size to jump
by 52%.

The compiler preserves all 'unique' licenses, which causes trouble
since the comment blocks with the license annotations are not unique
and contain file overview comments as well.

We can re-examine this once we have restructured the license headers.

Change-Id: I418e407a0e0253630633697f30cf496a7fc2ddfc
2015-09-04 18:36:39 -07:00
Yohann Connell 8cb24652cb Adding license annotation to js files.
Change-Id: Id10592ccaf35608ac4f01844cae2fec4a2030d65
2015-09-04 00:05:17 +00:00
Joey Parrish 7a2148c260 Fix support testing page for very old browsers
Chrome M25, for example, which is still in the wild in embedded form,
does not have MediaSource.isTypeSupported.  This allows the tests to
at least run, if not pass.

Change-Id: I4fd3113af836e76932074cb56358af0c1a08bac3
2015-07-06 10:59:58 -07:00
Thomas Stephens 6a235a107e Code review comments 2015-06-24 22:08:14 -05:00
Thomas Stephens 4e14ff8a6f Code review comments 2015-06-19 11:27:18 -05:00
Thomas Stephens c10a63d469 Check for Uint8Array in support.js 2015-06-19 10:30:21 -05:00
Thomas Stephens 411c738f67 In IE 9, document.body does not exist yet when the document is in the 'interactive' state, or on DOMContentLoaded. Instead, wait for 'window.onload' 2015-06-19 10:17:01 -05:00
Thomas Stephens 56df639d24 Replace const with var, since const isn't supported on old IE 2015-06-19 09:50:54 -05:00
Joey Parrish ac56a6c8a4 Add checks for offline content in support test.
Change-Id: Id47ee898d09eaf843f1c73c98cfcb4dfddce52f4
2015-04-28 16:38:39 -07:00
Joey Parrish a849f033ea Remove reliance on node.children.
Use the slightly more old-fashioned childNodes property instead.

Change-Id: Iade1ff63b4f86d53712ac818024c02f5e9b658b7
2015-04-21 16:12:15 -07:00
Joey Parrish 9ebd522c15 Add a polyfill for CustomEvent.
Change-Id: I92ac840976794e62c6ffc18a2065d4ebc4dfb33c
2015-04-21 16:11:47 -07:00
Joey Parrish 34c4a7b4cd Refactor and update support test page.
Change-Id: I8230577229e61aa7d54ba4dd799451ab2a6b70dc
2015-04-21 17:49:37 +00:00