Permalink
Browse files

move requires to literal

  • Loading branch information...
1 parent a3ffe87 commit d561c91ec63d2793e1ea0b9f571d18e2db83a65b @tenderlove tenderlove committed with nex3 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 d561c91

Please sign in to comment.