forked from leftypol/leftypol
Merge pull request 'Adds Oekaki to roulette.' (#40) from enableOekaki into config
Adds Oekaki to roulette. These are the settings that needs to change to enable oekaki. It uses somewhat of a hack due to our other settings. It works well as far as I can see. There might be some work needed to have this work on the site. Namely, git submodule init; git submodule update and possibly run npm install -ci; grunt --force too in the wpaint submodule.
This commit is contained in:
commit
6f47518ae9
1 changed files with 14 additions and 0 deletions
14
roulette/config.php
Normal file
14
roulette/config.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
// Scripts are already compiled in inc/instance-config.php
|
||||
// This is a hack to allow all boards to have a compiled js,
|
||||
// while allowing roulette to individually have oekaki
|
||||
$config['additional_javascript'] = [];
|
||||
$config['additional_javascript_defer'] = [];
|
||||
|
||||
$config['additional_javascript'][] = 'js/wPaint/8ch.js';
|
||||
$config['additional_javascript'][] = 'js/wpaint.js';
|
||||
$config['additional_javascript'][] = 'js/upload-selection.js';
|
||||
|
||||
$config['additional_javascript_compile'] = false;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue