Skip to content

Commit

Permalink
docs: update copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuwoo.choi committed Dec 21, 2017
1 parent c3ea059 commit 3f8e181
Show file tree
Hide file tree
Showing 275 changed files with 854 additions and 287 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 NHN Entertainment Corp.
Copyright (c) 2018 NHN Entertainment Corp.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 5 additions & 7 deletions bower.json
@@ -1,14 +1,12 @@
{
"name": "tui-editor",
"description": "private",
"authors": [
{
"name": "Sungho Kim",
"email": "shirenbeat@gmail.com"
}
],
"authors": ["NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)"],
"moduleType": [
"globals"
"globals",
"es6",
"amd",
"node"
],
"main": "dist/tui-editor-Editor.js",
"license": "MIT",
Expand Down
5 changes: 5 additions & 0 deletions karma.conf.js
@@ -1,3 +1,8 @@
/*
* @fileoverview configs file for testing
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

/* eslint max-len: 0, no-process-env: 0, object-shorthand: 0, camelcase: 0 */

const path = require('path');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "tui-editor",
"version": "0.14.2",
"private": true,
"author": "Sungho Kim <shirenbeat@gmail.com>",
"author": "NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)",
"repository": "https://github.com/nhnent/tui.editor.git",
"license": "MIT",
"main": "dist/tui-editor-Editor.js",
Expand Down
4 changes: 4 additions & 0 deletions src/css/tui-editor-contents.css
@@ -1,4 +1,8 @@
@charset "UTF-8";
/**
* @fileoverview style for content
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

.tui-editor-contents,
.CodeMirror {
Expand Down
4 changes: 4 additions & 0 deletions src/css/tui-editor.css
@@ -1,4 +1,8 @@
@charset "UTF-8";
/**
* @fileoverview style for editor ui
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

/* height */
.auto-height,
Expand Down
4 changes: 4 additions & 0 deletions src/js/codeBlockEditor.js
@@ -1,3 +1,7 @@
/**
* @fileoverview Implements code block editor
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';

import CodeMirrorExt from './codeMirrorExt';
Expand Down
2 changes: 1 addition & 1 deletion src/js/codeBlockManager.js
@@ -1,6 +1,6 @@
/**
* @fileoverview Implements CodeBlockManager
* @author Jiung Kang(jiung.kang@nhnent.com) FE Development Lab/NHN Ent.
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import hljs from 'highlight.js';

Expand Down
4 changes: 4 additions & 0 deletions src/js/codeBlockPreview.js
@@ -1,3 +1,7 @@
/**
* @fileoverview Implements CodeBlockPreview
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import Preview from './preview';

const EVENT_REQUIRE_SCROLL_SYNC = 'requireScrollSync';
Expand Down
4 changes: 4 additions & 0 deletions src/js/codeMirrorExt.js
@@ -1,3 +1,7 @@
/**
* @fileoverview Implements CodeBlockExt
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import CodeMirror from 'codemirror';

Expand Down
4 changes: 3 additions & 1 deletion src/js/codemirror/arrowKeyFunction.js
@@ -1,6 +1,8 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Modified by Junghwan Park <junghwan.park@nhnent.com>
/**
* @modifier NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import CodeMirror from 'codemirror';

/*eslint-disable */
Expand Down
3 changes: 3 additions & 0 deletions src/js/codemirror/continuelist.js
@@ -1,5 +1,8 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
/**
* @modifier NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import CodeMirror from 'codemirror';

/*eslint-disable */
Expand Down
5 changes: 5 additions & 0 deletions src/js/codemirror/fixOrderedListNumber.js
@@ -1,3 +1,8 @@
/**
* @fileoverview codemirror extension for fix ordered list number
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

import CodeMirror from 'codemirror';

const listRE = /^(\s*)((\d+)([.)]\s(?:\[(?:x|\s)\]\s)?))(.*)/;
Expand Down
3 changes: 3 additions & 0 deletions src/js/codemirror/gfm.js
@@ -1,5 +1,8 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
/**
* @modifier NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import CodeMirror from 'codemirror';

/*eslint-disable */
Expand Down
3 changes: 3 additions & 0 deletions src/js/codemirror/markdown.js
@@ -1,5 +1,8 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
/**
* @modifier NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
// based on https://github.com/codemirror/CodeMirror/blob/ff04f127ba8a736b97d06c505fb85d976e3f2980/mode/markdown/markdown.js
import CodeMirror from 'codemirror';

Expand Down
3 changes: 3 additions & 0 deletions src/js/codemirror/overlay.js
Expand Up @@ -9,6 +9,9 @@
// overlay wins, unless the combine argument was true and not overridden,
// or state.overlay.combineTokens was true, in which case the styles are
// combined.
/**
* @modifier NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import CodeMirror from 'codemirror';

/*eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion src/js/command.js
@@ -1,6 +1,6 @@
/**
* @fileoverview Implements Command
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import util from 'tui-code-snippet';

Expand Down
2 changes: 1 addition & 1 deletion src/js/commandManager.js
@@ -1,6 +1,6 @@
/**
* @fileoverview Implements CommandManager
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import util from 'tui-code-snippet';
Expand Down
2 changes: 1 addition & 1 deletion src/js/componentManager.js
@@ -1,6 +1,6 @@
/**
* @fileoverview Implements ComponentManager
* @author Junghwan Park(junghwan.parkm@nhnent.com) FE Development Lab/NHN Ent.
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/js/convertor.js
@@ -1,6 +1,6 @@
/**
* @fileoverview Convertor have responsible to convert markdown and html
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import util from 'tui-code-snippet';
Expand Down
4 changes: 2 additions & 2 deletions src/js/domUtils.js
@@ -1,6 +1,6 @@
/**
* @fileoverview
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @fileoverview DOM Utils
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import util from 'tui-code-snippet';
Expand Down
4 changes: 2 additions & 2 deletions src/js/editor.js
@@ -1,6 +1,6 @@
/**
* @fileoverview
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @fileoverview Implemtents Editor
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import util from 'tui-code-snippet';
Expand Down
2 changes: 1 addition & 1 deletion src/js/eventManager.js
@@ -1,6 +1,6 @@
/**
* @fileoverview Implements EventManager
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import util from 'tui-code-snippet';

Expand Down
2 changes: 1 addition & 1 deletion src/js/excelTableParser.js
@@ -1,6 +1,6 @@
/**
* @fileoverview Implements excelTableParser
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/js/extManager.js
@@ -1,6 +1,6 @@
/**
* @fileoverview
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
* @fileoverview extension manager
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import util from 'tui-code-snippet';

Expand Down
18 changes: 12 additions & 6 deletions src/js/extensions/chart/chart.js
@@ -1,5 +1,11 @@
/**
* @overview
* @fileoverview tsv, csv format tui.chart plugin
* consumes tab separated values and make data/options for tui chart
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

/**
* @example
* tsv, csv format tui.chart plugin
* consumes tab separated values and make data/options for tui chart
*
Expand Down Expand Up @@ -395,11 +401,11 @@ function _setWwCodeBlockManagerForChart(editor) {
componentManager.removeManager('codeblock');
componentManager.addManager(class extends WwCodeBlockManager {
/**
* Wrap table nodes into code block as TSV
* @memberof WwCodeBlockManager
* @param {Array.<Node>} nodes Node array
* @returns {HTMLElement} Code block element
*/
* Wrap table nodes into code block as TSV
* @memberof WwCodeBlockManager
* @param {Array.<Node>} nodes Node array
* @returns {HTMLElement} Code block element
*/
convertToCodeblock(nodes) {
if (nodes.length !== 1 || nodes[0].tagName !== 'TABLE') {
return super.convertToCodeblock(nodes);
Expand Down
4 changes: 3 additions & 1 deletion src/js/extensions/chart/csv.js
@@ -1,5 +1,4 @@
/* eslint-disable */
/* imported from http://github.com/kyuwoo-choi/csv-js */
/*
CSV-JS - A Comma-Separated Values parser for JS
Expand All @@ -22,6 +21,9 @@
Author Greg Kindel (twitter @gkindel), 2014
*/
/**
* @modifier NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

(function (global) {
'use strict';
Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/colorSyntax.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements Color syntax Extension
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements Color syntax Extension
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import ColorPicker from 'tui-color-picker';

Expand Down
5 changes: 5 additions & 0 deletions src/js/extensions/editor.js
@@ -1,3 +1,8 @@
/**
* @fileoverview Editor/Viewer proxy for extensions
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/

import Editor from '../editor';
import EditorViewer from '../viewer';

Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/mark/mark.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements mark extension for making text marker
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements mark extension for making text marker
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import util from 'tui-code-snippet';

Expand Down
7 changes: 3 additions & 4 deletions src/js/extensions/mark/markdownMarkerHelper.js
@@ -1,13 +1,12 @@
/**
* @fileoverview Implements markdown marker helper for additional information
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements markdown marker helper for additional information
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import util from 'tui-code-snippet';

const FIND_CRLF_RX = /(\n)|(\r\n)|(\r)/g;

/**
*
* Class MarkdownMarkerHelper
*/
class MarkdownMarkerHelper {
Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/mark/markerList.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements markdown marker helper for additional information
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements markdown marker helper for additional information
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import util from 'tui-code-snippet';

/**
Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/mark/markerManager.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements markdown marker helper for additional information
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements markdown marker helper for additional information
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import util from 'tui-code-snippet';

import DiffMatchPatch from './diffMatchPatch';
Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/mark/viewerMarkerHelper.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements viewer marker helper for additional information
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements markdown marker helper for additional information
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import Editor from '../editor';

Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/mark/wysiwygMarkerHelper.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements wysiwyg marker helper for additional information
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements markdown marker helper for additional information
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import Editor from '../editor';

Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/scrollSync/scrollManager.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements Scroll Follow Extension ScrollManager Module
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements Scroll Sync Extension ScrollManager Module
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import util from 'tui-code-snippet';

const PREVIEW_MARGIN_TOP = 57;
Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/scrollSync/scrollSync.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements Scroll Follow Extension
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements Scroll Sync Extension
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';
import Editor from '../editor';
import ScrollManager from './scrollManager';
Expand Down
6 changes: 3 additions & 3 deletions src/js/extensions/scrollSync/sectionManager.js
@@ -1,7 +1,7 @@
/**
* @fileoverview Implements Scroll Follow Extension SectionManager Module
* @author Sungho Kim(sungho-kim@nhnent.com) FE Development Team/NHN Ent.
*/
* @fileoverview Implements Scroll Sync Extension SectionManager Module
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com>
*/
import $ from 'jquery';

const FIND_HEADER_RX = /^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/;
Expand Down

0 comments on commit 3f8e181

Please sign in to comment.