mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Change desktop and mobile directives to reference static Context method
This commit is contained in:
parent
fbc5564247
commit
5b47151440
3 changed files with 5 additions and 5 deletions
|
|
@ -818,10 +818,10 @@ class TemplateParserV2Test extends \Codeception\Test\Unit
|
|||
'@endmobile',
|
||||
]);
|
||||
$target = implode("\n", [
|
||||
'<?php if (!$__Context->m): ?>',
|
||||
"<?php if (!\\Context::get('m')): ?>",
|
||||
'<p>4K or GTFO!</p>',
|
||||
'<?php endif; ?>',
|
||||
'<?php if ($__Context->m): ?>',
|
||||
"<?php if (\\Context::get('m')): ?>",
|
||||
'<p>USB C is the way to go~</p>',
|
||||
'<?php endif; ?>',
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue