kaka.farm

Unnamed repository; edit this file 'description' to name the repository.
git clone https://kaka.farm/~git/kaka.farm
Log | Files | Refs | README

commit e992ac0fa0d4b7c51fbffaca1d9825e04107213c
parent e9d2121dbc24e0bbc39cf96ec33861cce6180500
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date:   Sun, 12 Jul 2020 23:20:16 +0300

Move kakalog activation outside into its own javascript file, and deactivate it.

Diffstat:
Ahtml/sokoban/kakalog-state.js | 4++++
Mhtml/sokoban/sokoban.html | 7+------
2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/html/sokoban/kakalog-state.js b/html/sokoban/kakalog-state.js @@ -0,0 +1,4 @@ +'use strict'; + + +window.kakalog_activated = false; diff --git a/html/sokoban/sokoban.html b/html/sokoban/sokoban.html @@ -4,12 +4,7 @@ <meta charset="utf-8"> <title>Kaka Farm's Sokoban clone: no bells no whistles no glory.</title> <link href="sokoban.css" rel="stylesheet"></style> - <script type="text/javascript"> -'use strict'; - - -window.kakalog_activated = true; - </script> + <script type="text/javascript" src="kakalog-state.js"></script> <script type="text/javascript" src="../kakalog.js"></script> <script type="text/javascript" src="sokoban.js"></script> <script type="text/javascript" src="sokoban-web.js"></script>