Permalink
Browse files

moved ext to less/ext

  • Loading branch information...
1 parent d036f30 commit 553d0e01b8059541c40da4f76538768463b99666 cloudhead committed Nov 27, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/less.rb
  2. +2 −2 lib/{ → less}/ext.rb
View
@@ -9,7 +9,7 @@
$:.unshift File.dirname(__FILE__)
-require 'ext'
+require 'less/ext'
require 'less/command'
require 'less/engine'
@@ -5,8 +5,8 @@ def failure_message color
o = color ? Mutter.new.clear : lambda {|i, *args| i }
return nil unless (tf = terminal_failures) && tf.size > 0
msg = "on line #{failure_line}: expected " + (
- tf.size == 1 ?
- o[tf[0].expected_string, :yellow] :
+ tf.size == 1 ?
+ o[tf[0].expected_string, :yellow] :
"one of #{o[tf.map {|f| f.expected_string }.uniq * ' ', :yellow]}"
)
f = input[failure_index]

0 comments on commit 553d0e0

Please sign in to comment.