diff --git a/coffee/actor.coffee b/coffee/actor.coffee index 5003d87..83842ca 100644 --- a/coffee/actor.coffee +++ b/coffee/actor.coffee @@ -6,7 +6,7 @@ # 000 000 0000000 000 0000000 000 000 { last -} = require '/Users/kodi/s/ko/js/tools/tools' +} = require './tools/tools' Action = require './action' Timer = require './timer' Event = require './event' diff --git a/coffee/bot.coffee b/coffee/bot.coffee index 1dc2309..cdbc061 100644 --- a/coffee/bot.coffee +++ b/coffee/bot.coffee @@ -4,7 +4,7 @@ # 000 000 000 000 000 # 0000000 0000000 000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require './tools/log' Pushable = require './pushable' Action = require './action' Timer = require './timer' diff --git a/coffee/camera.coffee b/coffee/camera.coffee index 2e7b467..5f05d12 100644 --- a/coffee/camera.coffee +++ b/coffee/camera.coffee @@ -6,8 +6,8 @@ # 0000000 000 000 000 000 00000000 000 000 000 000 { clamp -} = require '/Users/kodi/s/ko/js/tools/tools' -log = require '/Users/kodi/s/ko/js/tools/log' +} = require './tools/tools' +log = require './tools/log' Matrix = require './lib/matrix' Vector = require './lib/vector' Quaternion = require './lib/quaternion' diff --git a/coffee/event.coffee b/coffee/event.coffee index a4c7bf3..374805e 100644 --- a/coffee/event.coffee +++ b/coffee/event.coffee @@ -5,7 +5,7 @@ # 00000000 0 00000000 000 000 000 { last -} = require '/Users/kodi/s/ko/js/tools/tools' +} = require './tools/tools' Action = require './action' _ = require 'lodash' diff --git a/coffee/lib/matrix.coffee b/coffee/lib/matrix.coffee index c5eeaad..04ce552 100644 --- a/coffee/lib/matrix.coffee +++ b/coffee/lib/matrix.coffee @@ -4,7 +4,7 @@ # 000 0 000 000 000 000 000 000 000 000 000 # 000 000 000 000 000 000 000 000 000 000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require '../tools/log' Quaternion = require './quaternion' Vector = require './vector' diff --git a/coffee/lib/quaternion.coffee b/coffee/lib/quaternion.coffee index 8b3d913..5862e89 100644 --- a/coffee/lib/quaternion.coffee +++ b/coffee/lib/quaternion.coffee @@ -5,7 +5,7 @@ # 000 0000 000 000 000 000 000 000 000 000 000 0000 000 000 000 000 0000 # 00000 00 0000000 000 000 000 00000000 000 000 000 000 000 0000000 000 000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require '../tools/log' Vector = require './vector' class Quaternion diff --git a/coffee/lib/vector.coffee b/coffee/lib/vector.coffee index 5829314..325f6ae 100644 --- a/coffee/lib/vector.coffee +++ b/coffee/lib/vector.coffee @@ -5,7 +5,7 @@ # 000 000 000 000 000 000 000 000 # 0 00000000 0000000 000 0000000 000 000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require '../tools/log' class Vector diff --git a/coffee/player.coffee b/coffee/player.coffee index 58e88de..0312c26 100644 --- a/coffee/player.coffee +++ b/coffee/player.coffee @@ -6,8 +6,8 @@ # 000 0000000 000 000 000 00000000 000 000 { clamp -} = require '/Users/kodi/s/ko/js/tools/tools' -log = require '/Users/kodi/s/ko/js/tools/log' +} = require './tools/tools' +log = require './tools/log' Bot = require './bot' Action = require './action' Timer = require './timer' diff --git a/coffee/screentext.coffee b/coffee/screentext.coffee index 78a62e5..e5ea94f 100644 --- a/coffee/screentext.coffee +++ b/coffee/screentext.coffee @@ -7,7 +7,7 @@ { first, last -} = require '/Users/kodi/s/ko/js/tools/tools' +} = require './tools/tools' Camera = require './camera' Action = require './action' Timer = require './timer' diff --git a/coffee/sound.coffee b/coffee/sound.coffee index 0bae3f9..22e40cb 100644 --- a/coffee/sound.coffee +++ b/coffee/sound.coffee @@ -4,7 +4,8 @@ # 000 000 000 000 000 000 0000 000 000 # 0000000 0000000 0000000 000 000 0000000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require './tools/log' +_ = require 'lodash' Howler = require 'howler' Howl = Howler.Howl diff --git a/coffee/switch.coffee b/coffee/switch.coffee index da87485..0ced41f 100644 --- a/coffee/switch.coffee +++ b/coffee/switch.coffee @@ -4,7 +4,7 @@ # 000 000 000 000 000 000 000 000 # 0000000 00 00 000 000 0000000 000 000 -log = require "/Users/kodi/s/ko/js/tools/log" +log = require "./tools/log" Quaternion = require './lib/quaternion' Vector = require './lib/vector' Action = require './action' diff --git a/coffee/timer.coffee b/coffee/timer.coffee index 02317c0..9f35e11 100644 --- a/coffee/timer.coffee +++ b/coffee/timer.coffee @@ -4,7 +4,7 @@ # 000 000 000 0 000 000 000 000 # 000 000 000 000 00000000 000 000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require './tools/log' class Timer diff --git a/coffee/tmpobject.coffee b/coffee/tmpobject.coffee index 885c916..4abdddf 100644 --- a/coffee/tmpobject.coffee +++ b/coffee/tmpobject.coffee @@ -4,7 +4,7 @@ # 000 000 0 000 000 000 000 000 000 000 000 000 000 000 # 000 000 000 000 0000000 0000000 0000000 00000000 0000000 000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require './tools/log' Item = require './item' class TmpObject extends Item diff --git a/coffee/valve.coffee b/coffee/valve.coffee index c3607b1..2e9169f 100644 --- a/coffee/valve.coffee +++ b/coffee/valve.coffee @@ -4,7 +4,7 @@ # 000 000 000 000 000 000 # 0 000 000 0000000 0 00000000 -log = require '/Users/kodi/s/ko/js/tools/log' +log = require './tools/log' Quaternion = require './lib/quaternion' Pushable = require './pushable' Action = require './action' diff --git a/coffee/world.coffee b/coffee/world.coffee index 802dea3..76f620e 100644 --- a/coffee/world.coffee +++ b/coffee/world.coffee @@ -9,8 +9,8 @@ absMin, randInt, clamp, first, -last} = require "/Users/kodi/s/ko/js/tools/tools" -log = require "/Users/kodi/s/ko/js/tools/log" +last} = require "./tools/tools" +log = require "./tools/log" Pos = require './lib/pos' Size = require './lib/size' Cell = require './cell'