Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
z-song committed Sep 11, 2018
1 parent 33333b8 commit bd48256
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Encore\PythonEditor;

use Encore\Admin\Form\Field;
use Jxlwqq\CodeMirror\CodeMirror;

class Editor extends Field
{
Expand All @@ -15,16 +16,16 @@ class Editor extends Field
* {@inheritdoc}
*/
protected static $css = [
'vendor/laravel-admin-ext/code-mirror/codemirror-5.40.0/lib/codemirror.css',
CodeMirror::ASSETS_PATH.'lib/codemirror.css',
];

/**
* {@inheritdoc}
*/
protected static $js = [
'vendor/laravel-admin-ext/code-mirror/codemirror-5.40.0/lib/codemirror.js',
'vendor/laravel-admin-ext/code-mirror/codemirror-5.40.0/addon/edit/matchbrackets.js',
'vendor/laravel-admin-ext/code-mirror/codemirror-5.40.0/mode/python/python.js',
CodeMirror::ASSETS_PATH.'lib/codemirror.js',
CodeMirror::ASSETS_PATH.'addon/edit/matchbrackets.js',
CodeMirror::ASSETS_PATH.'mode/python/python.js',
];

protected $version = 3;
Expand Down

0 comments on commit bd48256

Please sign in to comment.