about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-13 05:59:57 +0200
committerhut <hut@lavabit.com>2009-06-13 05:59:57 +0200
commit7cef157d7818e346a1882c2539126f84dfd3bf9e (patch)
tree8d3228a7ea4c7cda932390dbe007c69c05c18d21
parent5ff706b642f25b4f5786d435aecd31928670312c (diff)
downloadranger-7cef157d7818e346a1882c2539126f84dfd3bf9e.tar.gz
require
-rw-r--r--code/bars.rb2
-rwxr-xr-xranger.rb6
2 files changed, 2 insertions, 6 deletions
diff --git a/code/bars.rb b/code/bars.rb
index 5edb3604..8e176c01 100644
--- a/code/bars.rb
+++ b/code/bars.rb
@@ -1,3 +1,5 @@
+require 'thread'
+
 class Bar
 	def kill(evil = true)
 		Fm.bar_del(self)
diff --git a/ranger.rb b/ranger.rb
index 68a170b4..117552e3 100755
--- a/ranger.rb
+++ b/ranger.rb
@@ -24,12 +24,6 @@ else
 	pwd = nil
 end
 
-#require 'ftools'
-require 'pp'
-require 'ostruct'
-class OpenStruct; def __table__() @table end end
-require 'thread'
-
 for file in Dir.glob "#{MYDIR}/code/**/*.rb"
 	require file [MYDIR.size + 1 ... -3]
 end