From db3a037c97ac27fe5cc113fd1435d647cee4e413 Mon Sep 17 00:00:00 2001 From: David Sevilla Martin Date: Mon, 9 Sep 2019 20:20:14 -0400 Subject: [PATCH] Add license code to index.js, and line to LICENSE --- extensions/markdown/LICENSE | 1 + extensions/markdown/js/src/forum/index.js | 9 +++++++++ extensions/markdown/js/src/forum/util/apply.js | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/extensions/markdown/LICENSE b/extensions/markdown/LICENSE index 8630ec76f..18d12461d 100644 --- a/extensions/markdown/LICENSE +++ b/extensions/markdown/LICENSE @@ -1,6 +1,7 @@ The MIT License (MIT) Copyright (c) Toby Zerner +based on code Copyright (c) 2017-2018 GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/extensions/markdown/js/src/forum/index.js b/extensions/markdown/js/src/forum/index.js index cb95b93a1..5416b5dc8 100644 --- a/extensions/markdown/js/src/forum/index.js +++ b/extensions/markdown/js/src/forum/index.js @@ -1,3 +1,12 @@ +/*! + * Includes modified code from GitHub Markdown Toolbar Element + * https://github.com/github/markdown-toolbar-element/ + * + * Original Copyright GitHub, Inc. + * Released under the MIT license + * https://github.com/github/markdown-toolbar-element/blob/master/LICENSE + */ + import { extend } from 'flarum/extend'; import TextEditor from 'flarum/components/TextEditor'; import MarkdownArea from 'mdarea'; diff --git a/extensions/markdown/js/src/forum/util/apply.js b/extensions/markdown/js/src/forum/util/apply.js index d55d82c6c..92f00575a 100644 --- a/extensions/markdown/js/src/forum/util/apply.js +++ b/extensions/markdown/js/src/forum/util/apply.js @@ -1,4 +1,4 @@ -/*! +/* * Original Copyright GitHub, Inc. Licensed under the MIT License. * See license text at https://github.com/github/markdown-toolbar-element/blob/master/LICENSE. */