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