8
0
فهرست منبع

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;
+} );