Skip to content

Commit 282033c

Browse files
committed
Added a License Header
Added /** * This file is part of MultiCodeBlock. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ as a header. Added a link to the GitHub Repository in extension.json Added the note "with some minor changes" to highlight.css.
1 parent 73c7fd5 commit 282033c

File tree

9 files changed

+49
-2
lines changed

9 files changed

+49
-2
lines changed

extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "MultiCodeBlock",
33
"author": "QuickWrite",
4-
"url": "",
4+
"url": "https://github.com/QuickWrite/MultiCodeBlock",
55
"description": "Creates a codeblock consisting of multiple languages and a special way of commenting the code.",
66
"version": "1.0",
77
"license-name": "Apache-2.0",

includes/MultiCodeBlock.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
<?php
2+
/**
3+
* This file is part of MultiCodeBlock.
4+
*
5+
* For the full copyright and license information, please view the LICENSE
6+
* file that was distributed with this source code.
7+
*/
8+
29
/**
310
* Protect against register_globals vulnerabilities.
411
* This line must be present before any global variable is referenced.

includes/class/Code.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?php
2+
/**
3+
* This file is part of MultiCodeBlock.
4+
*
5+
* For the full copyright and license information, please view the LICENSE
6+
* file that was distributed with this source code.
7+
*/
28

39
/**
410
* Saves the code and the language as well as highlights the code.

includes/class/Description.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
<?php
2+
/**
3+
* This file is part of MultiCodeBlock.
4+
*
5+
* For the full copyright and license information, please view the LICENSE
6+
* file that was distributed with this source code.
7+
*/
8+
29
require_once __DIR__ . '/../vendor/autoload.php';
310

411
/**

includes/class/LanguageBlock.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?php
2+
/**
3+
* This file is part of MultiCodeBlock.
4+
*
5+
* For the full copyright and license information, please view the LICENSE
6+
* file that was distributed with this source code.
7+
*/
28

39
/**
410
* Saves the Description and the Code Objects

resources/ext.multicodeblock/css/codeblock.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* This file is part of MultiCodeBlock.
3+
*
4+
* For the full copyright and license information, please view the LICENSE
5+
* file that was distributed with this source code.
6+
*/
7+
18
.multicodeblock {
29
margin-top: calc(2em + 20px);
310
}

resources/ext.multicodeblock/css/highlight.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Atom One Light by Daniel Gamage
3+
Atom One Light by Daniel Gamage with some minor changes
44
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
55
66
base: #fafafa

resources/ext.multicodeblock/css/selection.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* This file is part of MultiCodeBlock.
3+
*
4+
* For the full copyright and license information, please view the LICENSE
5+
* file that was distributed with this source code.
6+
*/
7+
18
.second, .locked {
29
user-select: none;
310
}

resources/ext.multicodeblock/js/multicodeblock.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* This file is part of MultiCodeBlock.
3+
*
4+
* For the full copyright and license information, please view the LICENSE
5+
* file that was distributed with this source code.
6+
*/
7+
18
/* Switching between languages */
29
const tabButtons = document.getElementsByClassName('tab-button');
310

0 commit comments

Comments
 (0)