Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Commit

Permalink
Only require RedCloth if not already loaded
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wanstrath <[email protected]>
  • Loading branch information
Kevin Ansfield authored and defunkt committed Oct 14, 2009
1 parent 6a3a952 commit fce0e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
begin
require 'RedCloth'
require 'RedCloth' unless defined? RedCloth
rescue LoadError
nil
end
Expand Down

0 comments on commit fce0e1f

Please sign in to comment.