소스 검색

Introduced the Plugin module to be able to workaround its conflict with the RequireJS "plugin!" plugin.

fredck 11 년 전
부모
커밋
cfba23f7ca
1개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. 20 0
      packages/ckeditor5-engine/src/plugin.js

+ 20 - 0
packages/ckeditor5-engine/src/plugin.js

@@ -0,0 +1,20 @@
+/**
+ * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+'use strict';
+
+/**
+ * The base class for CKEditor plugin classes.
+ *
+ * @class Plugin
+ */
+
+CKEDITOR.define( function() {
+	function Plugin( editor ) {
+		this.editor = editor;
+	}
+
+	return Plugin;
+} );