lib/h8/coffee.rb in h8-0.1.4 vs lib/h8/coffee.rb in h8-0.2.1

- old
+ new

@@ -23,10 +23,10 @@ end # Compile coffeescript and return javascript. Keyword parameters are # passed to H8::Context#eval - like time limits and so on. # - # This method IS THREAD SAFE, it shares single + # This method IS THREAD SAFE, though it shares single # compiler instance across all threads with a mutex. def self.compile src, ** kwargs @@mutex.synchronize { (@@compiler ||= Coffee.new).compile src, ** kwargs }