Browse Source

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.
gitIgnore1
nonmakina 3 years ago
parent
commit
5cddc6d244
  1. 14
      roulette/config.php

14
roulette/config.php

@ -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…
Cancel
Save