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:
nonmakina 2021-10-05 16:12:44 +00:00
commit 6f47518ae9

14
roulette/config.php Normal file
View 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;