mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-24 17:35:10 +03:00
ad7602f3b7
This is required by Google policy, to document where these forks came from and what their licensing terms are. I overlooked this detail when I started customizing the JSDoc template. Change-Id: Ifd18bb3143ca841e2bd934fe571f3a896ba53975
23 lines
1.3 KiB
JavaScript
23 lines
1.3 KiB
JavaScript
/**
|
|
* @license
|
|
* Google Code Prettify
|
|
* Copyright (c) 2006 Google Inc.
|
|
*
|
|
* The source code for Google Code Prettify is available at:
|
|
* https://code.google.com/p/google-code-prettify/
|
|
*
|
|
* Google Code Prettify is distributed under the Apache License 2.0.
|
|
*
|
|
* You may obtain a copy of the License at:
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview A compiled fork of prettify, forked by JSDoc.
|
|
*
|
|
* Part of the default template in JSDoc.
|
|
*/
|
|
|
|
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n"]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com",
|
|
/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]);
|