From d033a2a17b746de2174298039644a72b1fe92457 Mon Sep 17 00:00:00 2001 From: Ludwig Schubert Date: Fri, 30 Mar 2018 11:30:29 -0700 Subject: [PATCH] Add license to deprecated v1 code --- components/appendix-distill.js | 14 ++++++++++++++ components/appendix.js | 14 ++++++++++++++ components/banner.js | 14 ++++++++++++++ components/bibliography.js | 14 ++++++++++++++ components/byline.js | 14 ++++++++++++++ components/citation.js | 14 ++++++++++++++ components/code.js | 14 ++++++++++++++ components/data.js | 14 ++++++++++++++ components/dt-math.js | 14 ++++++++++++++ components/footer.js | 14 ++++++++++++++ components/footnote.js | 14 ++++++++++++++ components/front-matter.js | 14 ++++++++++++++ components/generate-crossref.js | 14 ++++++++++++++ components/header.js | 14 ++++++++++++++ components/hover-box-include.js | 14 ++++++++++++++ components/html.js | 14 ++++++++++++++ components/include.js | 14 ++++++++++++++ components/layout.js | 14 ++++++++++++++ components/markdown.js | 14 ++++++++++++++ components/meta.js | 14 ++++++++++++++ components/styles.js | 14 ++++++++++++++ components/typeset.js | 14 ++++++++++++++ dist/template.js | 14 ++++++++++++++ index.js | 14 ++++++++++++++ rollup.config.js | 14 ++++++++++++++ test/test.js | 14 ++++++++++++++ 26 files changed, 364 insertions(+) diff --git a/components/appendix-distill.js b/components/appendix-distill.js index d0931f2..2032e8d 100644 --- a/components/appendix-distill.js +++ b/components/appendix-distill.js @@ -1,3 +1,17 @@ +// Copyright 2018 The Distill Template Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + export default function(dom, data) { let el = dom.querySelector('dt-appendix > div'); if (el) { diff --git a/components/appendix.js b/components/appendix.js index 8f4a631..5fe16fd 100644 --- a/components/appendix.js +++ b/components/appendix.js @@ -1,3 +1,17 @@ +// Copyright 2018 The Distill Template Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const templateHTML = `