Conditions | 2 |
Paths | 2 |
Total Lines | 24 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | public function renderStart() : void |
||
42 | { |
||
43 | if ($this->_registry->get('loggedIn') === $this->_registry->get('token')) |
||
44 | { |
||
45 | /* link */ |
||
46 | |||
47 | $link = Head\Link::getInstance(); |
||
48 | $link |
||
49 | ->init() |
||
50 | ->appendFile('modules/CodeEditor/dist/styles/ace.min.css'); |
||
51 | |||
52 | /* script */ |
||
53 | |||
54 | $script = Head\Script::getInstance(); |
||
55 | $script |
||
56 | ->init('foot') |
||
57 | ->appendFile( |
||
58 | [ |
||
59 | 'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.11/ace.js', |
||
60 | 'modules/CodeEditor/assets/scripts/init.js', |
||
61 | 'modules/CodeEditor/dist/scripts/code-editor.min.js' |
||
62 | ]); |
||
63 | } |
||
64 | } |
||
65 | |||
80 |