Permalink
Browse files

move requires to literal

  • Loading branch information...
1 parent 39a628c commit d2ee3a6601f506fdf9c98f393f98e440c1a2ca1a @tenderlove committed Mar 22, 2013
View
@@ -1,5 +1,3 @@
-require 'sass/script/literal'
-
module Sass::Script
# A SassScript object representing a boolean (true or false) value.
class Bool < Literal
View
@@ -1,5 +1,3 @@
-require 'sass/script/literal'
-
module Sass::Script
# A SassScript object representing a CSS color.
#
@@ -5,6 +5,11 @@ module Sass::Script
# are designed to be overridden by subclasses which may change the semantics somewhat.
# The operations listed here are just the defaults.
class Literal < Node
+ require 'sass/script/string'
+ require 'sass/script/number'
+ require 'sass/script/color'
+ require 'sass/script/bool'
+ require 'sass/script/null'
require 'sass/script/list'
require 'sass/script/arg_list'
View
@@ -1,5 +1,3 @@
-require 'sass/script/literal'
-
module Sass::Script
# A SassScript object representing a null value.
class Null < Literal
@@ -1,5 +1,3 @@
-require 'sass/script/literal'
-
module Sass::Script
# A SassScript object representing a number.
# SassScript numbers can have decimal values,
@@ -1,5 +1,3 @@
-require 'sass/script/literal'
-
module Sass::Script
# A SassScript object representing a CSS string *or* a CSS identifier.
class String < Literal

0 comments on commit d2ee3a6

Please sign in to comment.