Move input-related files into core/input

This commit moves all the input-related files from `core/`
to `core/input/`, and renames a couple as relevant
(input.js --> input/devices.js, keyboard.js --> input/util.js).
This commit is contained in:
Solly Ross
2016-09-14 13:45:08 -04:00
parent b4ef49ea36
commit bd5340c7ee
17 changed files with 36 additions and 35 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ var make_lib_files = function (use_require) {
var b = make_browserify(rfb_file, {});
b.on('transform', function (tr, file) {
if (tr._is_make_module) {
var new_path = path.join(lib_dir_base, path.basename(file));
var new_path = path.join(lib_dir_base, path.relative(core_path, file));
fse.ensureDir(path.dirname(new_path));
console.log("Writing " + new_path)
var fileStream = fs.createWriteStream(new_path);