Skip to content

Commit fd7cee6

Browse files
author
Tommy Lillehagen
committed
Add missing copyright headers
1 parent 408152f commit fd7cee6

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

src/theme/prism-hack.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
/**
29
* Original by Aaron Harun: http://aahacreative.com/2012/07/31/php-syntax-highlighting-prism/
310
* Modified by Miles Johnson: http://milesj.me
411
* Rewritten by Tom Pavelec
5-
*
6-
* Supports PHP 5.3 - 8.0
12+
* Adapted to include Hack keywords by @tlil
713
*/
814
(function (Prism) {
915
var comment = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/;

src/theme/prism-include-languages.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
import siteConfig from '@generated/docusaurus.config';
29
export default function prismIncludeLanguages(PrismObject) {
310
const {

0 commit comments

Comments
 (0)