Add copyright notices to frontend files
Change-Id: I66c94c172cb3ed60c69fe4874a83d3536fb40058
Reviewed-on: https://fuchsia-review.googlesource.com/c/fidlbolt/+/760142
Reviewed-by: Matt Hamrick <mjhamrick@google.com>
diff --git a/frontend/src/ace-modes.js b/frontend/src/ace-modes.js
index 0486b64..1641f80 100644
--- a/frontend/src/ace-modes.js
+++ b/frontend/src/ace-modes.js
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
ace.define('ace/mode/error', function(require, exports, module) {
const TextMode = require('ace/mode/text').Mode;
const TextHighlightRules = require('ace/mode/text_highlight_rules')
diff --git a/frontend/src/ace.ts b/frontend/src/ace.ts
index 2892313..9b4fbdd 100644
--- a/frontend/src/ace.ts
+++ b/frontend/src/ace.ts
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
import Ace = AceAjax;
export type Mode = Ace.TextMode;
diff --git a/frontend/src/editors.ts b/frontend/src/editors.ts
index a167198..8b03fa1 100644
--- a/frontend/src/editors.ts
+++ b/frontend/src/editors.ts
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
import * as ace from './ace';
import {DEFAULT_INPUT, getAceMode, InputMode, Mode, OutputMode} from './mode';
import {entries, values, wordWrap} from './util';
diff --git a/frontend/src/elm.d.ts b/frontend/src/elm.d.ts
index 67da812..aafd707 100644
--- a/frontend/src/elm.d.ts
+++ b/frontend/src/elm.d.ts
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
declare module '*.elm' {
export const Elm: any;
}
diff --git a/frontend/src/evaluator.ts b/frontend/src/evaluator.ts
index 40c820a..d60f4ff 100644
--- a/frontend/src/evaluator.ts
+++ b/frontend/src/evaluator.ts
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
import {Annotation, Editors, Options} from './editors';
import {InputMode, OutputMode} from './mode';
import {Timeout, withTimeout} from './util';
diff --git a/frontend/src/main.ts b/frontend/src/main.ts
index 18dc96b..6321f12 100644
--- a/frontend/src/main.ts
+++ b/frontend/src/main.ts
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
import './ace-modes.js';
import './style.css';
diff --git a/frontend/src/mode.ts b/frontend/src/mode.ts
index f30633f..428e897 100644
--- a/frontend/src/mode.ts
+++ b/frontend/src/mode.ts
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
import * as ace from './ace';
// A fidlbolt input/output mode. Corresponds to toString in elm/Mode.elm.
diff --git a/frontend/src/util.ts b/frontend/src/util.ts
index a91598b..2407e7f 100644
--- a/frontend/src/util.ts
+++ b/frontend/src/util.ts
@@ -1,3 +1,7 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
// Like Object.values but with a stronger return type.
export function values<T extends {[key: string]: any}, K extends keyof T>(
o: T