From 518413e33fa590497c94022796cafca9248eb1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Tue, 4 Sep 2018 22:54:08 +0200 Subject: [PATCH] remove one code example --- .../Routes/CodeHighlighting/examples.js | 53 ------------------- .../Routes/CodeHighlighting/index.vue | 4 +- 2 files changed, 1 insertion(+), 56 deletions(-) diff --git a/examples/Components/Routes/CodeHighlighting/examples.js b/examples/Components/Routes/CodeHighlighting/examples.js index 8e4ab8c5..b36ae785 100644 --- a/examples/Components/Routes/CodeHighlighting/examples.js +++ b/examples/Components/Routes/CodeHighlighting/examples.js @@ -26,56 +26,3 @@ body, .usertext { content: attr(href) } }` - -export const php = `require_once 'Zend/Uri/Http.php'; - -namespace Location\Web; - -interface Factory -{ - static function _factory(); -} - -abstract class URI extends BaseURI implements Factory -{ - abstract function test(); - - public static $st1 = 1; - const ME = "Yo"; - var $list = NULL; - private $var; - - /** - * Returns a URI - * - * @return URI - */ - static public function _factory($stats = array(), $uri = 'http') - { - echo __METHOD__; - $uri = explode(':', $uri, 0b10); - $schemeSpecific = isset($uri[1]) ? $uri[1] : ''; - $desc = 'Multi -line description'; - - // Security check - if (!ctype_alnum($scheme)) { - throw new Zend_Uri_Exception('Illegal scheme'); - } - - $this->var = 0 - self::$st; - $this->list = list(Array("1"=> 2, 2=>self::ME, 3 => \Location\Web\URI::class)); - - return [ - 'uri' => $uri, - 'value' => null, - ]; - } -} - -echo URI::ME . URI::$st1; - -__halt_compiler () ; datahere -datahere -datahere */ -datahere` diff --git a/examples/Components/Routes/CodeHighlighting/index.vue b/examples/Components/Routes/CodeHighlighting/index.vue index ed4d2a1b..a5b4833d 100644 --- a/examples/Components/Routes/CodeHighlighting/index.vue +++ b/examples/Components/Routes/CodeHighlighting/index.vue @@ -11,7 +11,6 @@

-
@@ -38,7 +37,7 @@ import { HistoryExtension, } from 'tiptap-extensions' -import { javascript, css, php } from './examples' +import { javascript, css } from './examples' export default { components: { @@ -65,7 +64,6 @@ export default { ], javascript, css, - php, } }, }