X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=inline;f=samples%2Fsample.js;fp=samples%2Fsample.js;h=0000000000000000000000000000000000000000;hb=34d2dd88753d873bd36d07d9917b326fa84ac464;hp=439a521217a08d8fcaf109b902c051a5b1def4db;hpb=a0df3d0ab0c5252b5e2e0fd274705ede834c2276;p=ckeditor.git
diff --git a/samples/sample.js b/samples/sample.js
deleted file mode 100644
index 439a521..0000000
--- a/samples/sample.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or http://ckeditor.com/license
- */
-
-// Tool scripts for the sample pages.
-// This file can be ignored and is not required to make use of CKEditor.
-
-( function() {
- CKEDITOR.on( 'instanceReady', function( ev ) {
- // Check for sample compliance.
- var editor = ev.editor,
- meta = CKEDITOR.document.$.getElementsByName( 'ckeditor-sample-required-plugins' ),
- requires = meta.length ? CKEDITOR.dom.element.get( meta[ 0 ] ).getAttribute( 'content' ).split( ',' ) : [],
- missing = [],
- i;
-
- if ( requires.length ) {
- for ( i = 0; i < requires.length; i++ ) {
- if ( !editor.plugins[ requires[ i ] ] )
- missing.push( '' + requires[ i ] + '
' );
- }
-
- if ( missing.length ) {
- var warn = CKEDITOR.dom.element.createFromHtml(
- '