Skip to content

Commit 99d51c9

Browse files
committed
Merging in Josh's tidy changes, and, unfortunately, reverting most of them.
2 parents 5f9061d + ca8c8c5 commit 99d51c9

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/closure-compiler.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ module Closure
88

99
COMPILER_ROOT = File.expand_path(File.dirname(__FILE__))
1010

11-
COMPILER_JAR = COMPILER_ROOT + "/../vendor/closure-compiler-#{COMPILER_VERSION}.jar"
11+
COMPILER_JAR = File.join(COMPILER_ROOT, "closure-compiler-#{COMPILER_VERSION}.jar")
1212

1313
end
1414

1515
require 'stringio'
16-
require Closure::COMPILER_ROOT + '/closure/popen'
17-
require Closure::COMPILER_ROOT + '/closure/compiler'
16+
require File.join(Closure::COMPILER_ROOT, 'closure/popen')
17+
require File.join(Closure::COMPILER_ROOT, 'closure/compiler')

lib/closure/compiler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ def command
5757
end
5858

5959
end
60-
end
60+
end

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
class Test::Unit::TestCase
44
include Closure
5-
end
5+
end

0 commit comments

Comments
 (0)