compass 0.11.7 → 0.12.alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. data/Rakefile +10 -0
  2. data/VERSION.yml +4 -3
  3. data/bin/compass +1 -5
  4. data/features/command_line.feature +17 -17
  5. data/features/extensions.feature +0 -6
  6. data/features/step_definitions/command_line_steps.rb +1 -2
  7. data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +35 -5
  8. data/frameworks/compass/stylesheets/compass/css3/_images.scss +6 -6
  9. data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +3 -12
  10. data/frameworks/compass/stylesheets/compass/typography/lists/_bullets.scss +1 -1
  11. data/frameworks/compass/stylesheets/compass/typography/lists/_inline-block-list.scss +11 -14
  12. data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +5 -5
  13. data/frameworks/compass/templates/pie/PIE.htc +64 -83
  14. data/lib/compass.rbc +36 -42
  15. data/lib/compass/actions.rb +1 -0
  16. data/lib/compass/actions.rbc +85 -244
  17. data/lib/compass/app_integration.rbc +20 -28
  18. data/lib/compass/app_integration/merb.rbc +4 -8
  19. data/lib/compass/app_integration/rails.rb +22 -5
  20. data/lib/compass/app_integration/rails.rbc +142 -658
  21. data/lib/compass/app_integration/rails/actionpack2x.rb +10 -0
  22. data/lib/compass/app_integration/rails/{actionpack2 → actionpack2x}/action_controller.rb +0 -0
  23. data/lib/compass/app_integration/rails/{actionpack2 → actionpack2x}/sass_plugin.rb +0 -0
  24. data/lib/compass/app_integration/rails/{actionpack2 → actionpack2x}/urls.rb +0 -0
  25. data/lib/compass/app_integration/rails/actionpack30.rb +11 -0
  26. data/lib/compass/app_integration/rails/{actionpack3 → actionpack30}/railtie.rb +0 -0
  27. data/lib/compass/app_integration/rails/actionpack31.rb +5 -0
  28. data/lib/compass/app_integration/rails/actionpack31/helpers.rb +5 -0
  29. data/lib/compass/app_integration/rails/actionpack31/railtie.rb +89 -0
  30. data/lib/compass/app_integration/rails/configuration_defaults.rb +54 -14
  31. data/lib/compass/app_integration/rails/configuration_defaults.rbc +324 -1081
  32. data/lib/compass/app_integration/rails/installer.rbc +61 -145
  33. data/lib/compass/app_integration/rails/runtime.rb +6 -16
  34. data/lib/compass/app_integration/stand_alone.rbc +15 -15
  35. data/lib/compass/app_integration/stand_alone/configuration_defaults.rbc +23 -23
  36. data/lib/compass/app_integration/stand_alone/installer.rbc +32 -52
  37. data/lib/compass/browser_support.rbc +23 -35
  38. data/lib/compass/commands/clean_project.rb +1 -1
  39. data/lib/compass/commands/project_stats.rb +7 -7
  40. data/lib/compass/commands/sprite.rb +4 -3
  41. data/lib/compass/compiler.rb +2 -2
  42. data/lib/compass/compiler.rbc +398 -591
  43. data/lib/compass/configuration.rb +2 -0
  44. data/lib/compass/configuration.rbc +78 -134
  45. data/lib/compass/configuration/adapters.rbc +40 -98
  46. data/lib/compass/configuration/comments.rb +5 -1
  47. data/lib/compass/configuration/comments.rbc +51 -132
  48. data/lib/compass/configuration/data.rb +26 -10
  49. data/lib/compass/configuration/data.rbc +536 -526
  50. data/lib/compass/configuration/defaults.rb +24 -1
  51. data/lib/compass/configuration/defaults.rbc +187 -762
  52. data/lib/compass/configuration/file_data.rb +0 -22
  53. data/lib/compass/configuration/file_data.rbc +125 -37
  54. data/lib/compass/configuration/helpers.rb +9 -8
  55. data/lib/compass/configuration/helpers.rbc +153 -433
  56. data/lib/compass/configuration/inheritance.rb +13 -0
  57. data/lib/compass/configuration/inheritance.rbc +165 -412
  58. data/lib/compass/configuration/paths.rbc +9 -9
  59. data/lib/compass/configuration/serialization.rb +1 -0
  60. data/lib/compass/configuration/serialization.rbc +84 -151
  61. data/lib/compass/dependencies.rbc +4 -16
  62. data/lib/compass/errors.rbc +5 -5
  63. data/lib/compass/frameworks.rb +4 -10
  64. data/lib/compass/frameworks.rbc +66 -118
  65. data/lib/compass/quick_cache.rbc +8 -12
  66. data/lib/compass/sass_extensions.rbc +4 -8
  67. data/lib/compass/sass_extensions/functions.rbc +57 -90
  68. data/lib/compass/sass_extensions/functions/colors.rbc +18 -22
  69. data/lib/compass/sass_extensions/functions/constants.rbc +25 -45
  70. data/lib/compass/sass_extensions/functions/cross_browser_support.rbc +36 -48
  71. data/lib/compass/sass_extensions/functions/display.rbc +107 -341
  72. data/lib/compass/sass_extensions/functions/enumerate.rbc +9 -9
  73. data/lib/compass/sass_extensions/functions/font_files.rbc +125 -542
  74. data/lib/compass/sass_extensions/functions/gradient_support.rbc +167 -379
  75. data/lib/compass/sass_extensions/functions/image_size.rb +10 -2
  76. data/lib/compass/sass_extensions/functions/image_size.rbc +400 -715
  77. data/lib/compass/sass_extensions/functions/inline_image.rbc +98 -152
  78. data/lib/compass/sass_extensions/functions/lists.rb +0 -5
  79. data/lib/compass/sass_extensions/functions/lists.rbc +39 -75
  80. data/lib/compass/sass_extensions/functions/selectors.rbc +28 -36
  81. data/lib/compass/sass_extensions/functions/sprites.rb +5 -7
  82. data/lib/compass/sass_extensions/functions/sprites.rbc +233 -255
  83. data/lib/compass/sass_extensions/functions/trig.rb +2 -1
  84. data/lib/compass/sass_extensions/functions/trig.rbc +51 -53
  85. data/lib/compass/sass_extensions/functions/urls.rb +171 -80
  86. data/lib/compass/sass_extensions/functions/urls.rbc +1051 -3158
  87. data/lib/compass/sass_extensions/monkey_patches.rbc +5 -5
  88. data/lib/compass/sass_extensions/monkey_patches/browser_support.rbc +47 -63
  89. data/lib/compass/sass_extensions/monkey_patches/traversal.rbc +16 -36
  90. data/lib/compass/sass_extensions/sprites.rb +3 -1
  91. data/lib/compass/sass_extensions/sprites.rbc +13 -93
  92. data/lib/compass/sass_extensions/sprites/engines.rbc +6 -615
  93. data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc +94 -260
  94. data/lib/compass/sass_extensions/sprites/image.rb +23 -11
  95. data/lib/compass/sass_extensions/sprites/image.rbc +313 -691
  96. data/lib/compass/sass_extensions/sprites/image_row.rb +47 -0
  97. data/lib/compass/sass_extensions/sprites/layout_methods.rb +117 -0
  98. data/lib/compass/sass_extensions/sprites/row_fitter.rb +86 -0
  99. data/lib/compass/sass_extensions/sprites/sprite_map.rb +18 -4
  100. data/lib/compass/sass_extensions/sprites/sprite_map.rbc +3635 -708
  101. data/lib/compass/sass_extensions/sprites/sprite_methods.rb +5 -17
  102. data/lib/compass/sprite_importer.rb +38 -62
  103. data/lib/compass/sprite_importer.rbc +1495 -1125
  104. data/lib/compass/util.rbc +11 -19
  105. data/lib/compass/version.rbc +25 -53
  106. data/test/fixtures/sprites/public/images/image_row/large.png +0 -0
  107. data/test/fixtures/sprites/public/images/image_row/large_square.png +0 -0
  108. data/test/fixtures/sprites/public/images/image_row/medium.png +0 -0
  109. data/test/fixtures/sprites/public/images/image_row/small.png +0 -0
  110. data/test/fixtures/sprites/public/images/image_row/tall.png +0 -0
  111. data/test/fixtures/stylesheets/compass/css/lists.css +7 -7
  112. data/test/fixtures/stylesheets/compass/css/reset.css +1 -0
  113. data/test/fixtures/stylesheets/compass/css/sprites.css +248 -248
  114. data/test/fixtures/stylesheets/compass/images/flag-s8c3c755a68.png +0 -0
  115. data/test/integrations/sprites_test.rb +115 -3
  116. data/test/test_helper.rb +29 -1
  117. data/test/tmp/compass_rails/public/images/selectors-sef52c5c63a.png +0 -0
  118. data/test/units/configuration_test.rb +2 -5
  119. data/test/units/rails_configuration_test.rb +50 -0
  120. data/test/units/sass_extensions_test.rb +17 -5
  121. data/test/units/sprites/image_row_test.rb +57 -0
  122. data/test/units/sprites/image_test.rb +53 -45
  123. data/test/units/sprites/importer_test.rb +31 -12
  124. data/test/units/sprites/row_fitter_test.rb +66 -0
  125. data/test/units/sprites/sprite_command_test.rb +1 -11
  126. data/test/units/sprites/sprite_map_test.rb +122 -16
  127. metadata +38 -149
  128. data/bin/compass.compiled.rbc +0 -707
  129. data/examples/compass/compass_app_log.txt +0 -6
  130. data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +0 -19
  131. data/lib/compass/commands.rbc +0 -307
  132. data/lib/compass/commands/base.rbc +0 -1044
  133. data/lib/compass/commands/clean_project.rbc +0 -1856
  134. data/lib/compass/commands/create_project.rbc +0 -2691
  135. data/lib/compass/commands/default.rbc +0 -1677
  136. data/lib/compass/commands/generate_grid_background.rbc +0 -1939
  137. data/lib/compass/commands/help.rbc +0 -1921
  138. data/lib/compass/commands/imports.rbc +0 -969
  139. data/lib/compass/commands/installer_command.rbc +0 -807
  140. data/lib/compass/commands/interactive.rbc +0 -1341
  141. data/lib/compass/commands/list_frameworks.rbc +0 -1111
  142. data/lib/compass/commands/print_version.rbc +0 -2478
  143. data/lib/compass/commands/project_base.rbc +0 -2085
  144. data/lib/compass/commands/project_stats.rbc +0 -4202
  145. data/lib/compass/commands/registry.rbc +0 -1350
  146. data/lib/compass/commands/sprite.rbc +0 -2212
  147. data/lib/compass/commands/stamp_pattern.rbc +0 -2011
  148. data/lib/compass/commands/unpack_extension.rbc +0 -2348
  149. data/lib/compass/commands/update_project.rbc +0 -3002
  150. data/lib/compass/commands/validate_project.rbc +0 -1686
  151. data/lib/compass/commands/watch_project.rbc +0 -4155
  152. data/lib/compass/commands/write_configuration.rbc +0 -2896
  153. data/lib/compass/exec.rbc +0 -500
  154. data/lib/compass/exec/command_option_parser.rbc +0 -676
  155. data/lib/compass/exec/global_options_parser.rbc +0 -1306
  156. data/lib/compass/exec/helpers.rbc +0 -758
  157. data/lib/compass/exec/project_options_parser.rbc +0 -1515
  158. data/lib/compass/exec/sub_command_ui.rbc +0 -1191
  159. data/lib/compass/grid_builder.rbc +0 -0
  160. data/lib/compass/installers.rbc +0 -152
  161. data/lib/compass/installers/bare_installer.rbc +0 -939
  162. data/lib/compass/installers/base.rbc +0 -4427
  163. data/lib/compass/installers/manifest.rbc +0 -3335
  164. data/lib/compass/installers/manifest_installer.rbc +0 -1591
  165. data/lib/compass/installers/template_context.rbc +0 -1030
  166. data/lib/compass/logger.rbc +0 -2317
  167. data/lib/compass/sass_extensions/functions/env.rbc +0 -299
  168. data/lib/compass/sass_extensions/sprites/image_methods.rbc +0 -900
  169. data/lib/compass/sass_extensions/sprites/image_row.rbc +0 -1168
  170. data/lib/compass/sass_extensions/sprites/layout_methods.rbc +0 -3236
  171. data/lib/compass/sass_extensions/sprites/row_fitter.rbc +0 -2067
  172. data/lib/compass/sass_extensions/sprites/sprite_methods.rbc +0 -3190
  173. data/test/fixtures/extensions/only_stylesheets/compass_init.rb +0 -1
  174. data/test/fixtures/extensions/only_stylesheets/scss/only_stylesheets/foo.scss +0 -3
  175. data/test/fixtures/stylesheets/compass/css/user-interface.css +0 -5
  176. data/test/fixtures/stylesheets/compass/images/flag-s03c3b29b35.png +0 -0
  177. data/test/fixtures/stylesheets/compass/sass/user-interface.scss +0 -5
  178. data/test/fixtures/stylesheets/envtest/tmp/env.css +0 -2
  179. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/config.rb +0 -25
  180. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/ie.scss +0 -5
  181. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/print.scss +0 -3
  182. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/screen.scss +0 -6
  183. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/ie.css +0 -5
  184. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/print.css +0 -3
  185. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/screen.css +0 -68
  186. data/test/helpers/command_line.rbc +0 -2820
  187. data/test/helpers/diff.rbc +0 -1104
  188. data/test/helpers/io.rbc +0 -962
  189. data/test/helpers/rails.rbc +0 -1116
  190. data/test/helpers/test_case.rbc +0 -1255
  191. data/test/integrations/compass_test.rbc +0 -6589
  192. data/test/integrations/rails_integration_test.rbc +0 -1342
  193. data/test/integrations/sprites_test.rbc +0 -6192
  194. data/test/test_helper.rbc +0 -1694
  195. data/test/units/actions_test.rbc +0 -644
  196. data/test/units/command_line_test.rbc +0 -1532
  197. data/test/units/compass_png_test.rbc +0 -0
  198. data/test/units/configuration_test.rbc +0 -3833
  199. data/test/units/rails_configuration_test.rbc +0 -1032
  200. data/test/units/sass_extensions_test.rbc +0 -3586
  201. data/test/units/sprites/engine_test.rbc +0 -962
  202. data/test/units/sprites/image_row_test.rbc +0 -1578
  203. data/test/units/sprites/image_test.rbc +0 -2836
  204. data/test/units/sprites/importer_test.rbc +0 -2620
  205. data/test/units/sprites/row_fitter_test.rbc +0 -1479
  206. data/test/units/sprites/sprite_command_test.rbc +0 -1147
  207. data/test/units/sprites/sprite_map_test.rbc +0 -6515
@@ -14,7 +14,6 @@ module Compass
14
14
  @width = 0
15
15
  init_images
16
16
  compute_image_positions!
17
- @height = @images.last.top + @images.last.height
18
17
  init_engine
19
18
  end
20
19
 
@@ -29,22 +28,10 @@ module Compass
29
28
  def init_images
30
29
  @images = image_names.collect do |relative_file|
31
30
  image = Compass::SassExtensions::Sprites::Image.new(self, relative_file, kwargs)
32
- @width = [ @width, image.width + image.offset ].max
33
31
  image
34
32
  end
35
33
  end
36
34
 
37
- # Calculates the overal image dimensions
38
- # collects image sizes and input parameters for each sprite
39
- def compute_image_positions!
40
- @images.each_with_index do |image, index|
41
- image.left = image.position.unit_str == "%" ? (@width - image.width) * (image.position.value / 100) : image.position.value
42
- next if index == 0
43
- last_image = @images[index-1]
44
- image.top = last_image.top + last_image.height + [image.spacing, last_image.spacing].max
45
- end
46
- end
47
-
48
35
  # Validates that the sprite_names are valid sass
49
36
  def validate!
50
37
  for sprite_name in sprite_names
@@ -56,7 +43,7 @@ module Compass
56
43
 
57
44
  # The on-the-disk filename of the sprite
58
45
  def filename
59
- File.join(Compass.configuration.images_path, "#{path}-s#{uniqueness_hash}.png")
46
+ File.join(Compass.configuration.generated_images_path, "#{path}-s#{uniqueness_hash}.png")
60
47
  end
61
48
 
62
49
  # Generate a sprite image if necessary
@@ -66,13 +53,13 @@ module Compass
66
53
  cleanup_old_sprites
67
54
  end
68
55
  engine.construct_sprite
69
- Compass.configuration.run_callback(:sprite_generated, engine.canvas)
56
+ Compass.configuration.run_sprite_generated(engine.canvas)
70
57
  save!
71
58
  end
72
59
  end
73
60
 
74
61
  def cleanup_old_sprites
75
- Dir[File.join(Compass.configuration.images_path, "#{path}-s*.png")].each do |file|
62
+ Dir[File.join(Compass.configuration.images_path, "#{path}-*.png")].each do |file|
76
63
  FileUtils.rm file
77
64
  end
78
65
  end
@@ -100,8 +87,9 @@ module Compass
100
87
 
101
88
  # Saves the sprite engine
102
89
  def save!
90
+ FileUtils.mkdir_p(File.dirname(filename))
103
91
  saved = engine.save(filename)
104
- Compass.configuration.run_callback(:sprite_saved, filename)
92
+ Compass.configuration.run_sprite_saved(filename)
105
93
  saved
106
94
  end
107
95
 
@@ -1,6 +1,5 @@
1
1
  module Compass
2
2
  class SpriteImporter < Sass::Importers::Base
3
- attr_accessor :uri, :options
4
3
  VAILD_FILE_NAME = /\A#{Sass::SCSS::RX::IDENT}\Z/
5
4
  SPRITE_IMPORTER_REGEX = %r{((.+/)?([^\*.]+))/(.+?)\.png}
6
5
  VALID_EXTENSIONS = ['.png']
@@ -8,32 +7,18 @@ module Compass
8
7
  # finds all sprite files
9
8
  def self.find_all_sprite_map_files(path)
10
9
  hex = "[0-9a-f]"
11
- glob = "*-{,s}#{hex*10}{#{VALID_EXTENSIONS.join(",")}}"
10
+ glob = "*-s#{hex*10}{#{VALID_EXTENSIONS.join(",")}}"
12
11
  Dir.glob(File.join(path, "**", glob))
13
12
  end
14
-
15
- def self.load(uri, options)
16
- klass = Compass::SpriteImporter.new
17
- klass.uri, klass.options = uri, options
18
- klass
19
- end
20
-
21
- def initialize(options ={})
22
- @uri, @options = '', {}
23
- options.each do |key, value|
24
- send("#{key}=", value)
25
- end
26
- end
27
13
 
28
14
  def find(uri, options)
29
- @uri, @options = uri, options
30
15
  if uri =~ SPRITE_IMPORTER_REGEX
31
- return sass_engine
16
+ return self.class.sass_engine(uri, self.class.sprite_name(uri), self, options)
32
17
  end
18
+ nil
33
19
  end
34
20
 
35
21
  def find_relative(uri, base, options)
36
- @uri, @options = uri, options
37
22
  find(File.join(base, uri), options)
38
23
  end
39
24
 
@@ -50,45 +35,47 @@ module Compass
50
35
  end
51
36
 
52
37
  def mtime(uri, options)
53
- @uri, @options = uri, options
54
- files.sort.inject(Time.at(0)) do |max_time, file|
38
+ self.class.files(uri).sort.inject(Time.at(0)) do |max_time, file|
55
39
  (t = File.mtime(file)) > max_time ? t : max_time
56
40
  end
57
41
  end
58
42
 
59
43
  def key(uri, options={})
60
- @uri, @options = uri, options
61
- [self.class.name + ":" + File.dirname(File.expand_path(uri)), File.basename(uri)]
44
+ [self.class.name + ":sprite:" + File.dirname(File.expand_path(uri)), File.basename(uri)]
62
45
  end
63
46
 
64
47
  def self.path_and_name(uri)
65
48
  if uri =~ SPRITE_IMPORTER_REGEX
66
49
  [$1, $3]
67
50
  else
68
- raise Compass::Error "invalid sprite path"
51
+ raise Compass::Error, "invalid sprite path"
69
52
  end
70
53
  end
71
54
 
72
55
  # Name of this spite
73
- def name
74
- ensure_path_and_name!
75
- @name
56
+ def self.sprite_name(uri)
57
+ _, name = path_and_name(uri)
58
+ name
76
59
  end
77
60
 
78
61
  # The on-disk location of this sprite
79
- def path
80
- ensure_path_and_name!
81
- @path
62
+ def self.path(uri)
63
+ path, _ = path_and_name(uri)
64
+ path
82
65
  end
83
66
 
84
- # Returns the Glob of image files for this sprite
85
- def files
86
- Dir[File.join(Compass.configuration.images_path, uri)].sort
67
+ # Returns the Glob of image files for the uri
68
+ def self.files(uri)
69
+ Compass.configuration.sprite_load_path.each do |folder|
70
+ files = Dir[File.join(folder, uri)].sort
71
+ next if files.empty?
72
+ return files
73
+ end
87
74
  end
88
75
 
89
76
  # Returns an Array of image names without the file extension
90
- def sprite_names
91
- files.collect do |file|
77
+ def self.sprite_names(uri)
78
+ files(uri).collect do |file|
92
79
  filename = File.basename(file, '.png')
93
80
  unless VAILD_FILE_NAME =~ filename
94
81
  raise Compass::Error, "Sprite file names must be legal css identifiers. Please rename #{File.basename(file)}"
@@ -97,31 +84,18 @@ module Compass
97
84
  end
98
85
  end
99
86
 
100
- def validate_sprites!
101
- files.each do |file|
102
- unless VALID_EXTENSIONS.include? File.extname(file)
103
- raise Compass::Error, "Invalid sprite extension only: #{VALID_EXTENSIONS.join(',')} images are allowed"
104
- end
105
- end
106
- end
107
-
108
- # Returns the sass options for this sprite
109
- def sass_options
110
- options.merge(:filename => name, :syntax => :scss, :importer => self)
87
+ # Returns the sass_options for this sprite
88
+ def self.sass_options(name, importer, options)
89
+ options.merge!(:filename => name, :syntax => :scss, :importer => importer)
111
90
  end
112
91
 
113
92
  # Returns a Sass::Engine for this sprite object
114
- def sass_engine
115
- validate_sprites!
116
- Sass::Engine.new(content_for_images, sass_options)
93
+ def self.sass_engine(uri, name, importer, options)
94
+ Sass::Engine.new(content_for_images(uri, name, options[:skip_overrides]), sass_options(name, importer, options))
117
95
  end
118
-
119
- def ensure_path_and_name!
120
- @path, @name = self.class.path_and_name(uri)
121
- end
122
96
 
123
97
  # Generates the Sass for this sprite file
124
- def content_for_images(skip_overrides = false)
98
+ def self.content_for_images(uri, name, skip_overrides = false)
125
99
  <<-SCSS
126
100
  @import "compass/utilities/sprites/base";
127
101
 
@@ -134,8 +108,9 @@ $#{name}-spacing: 0 !default;
134
108
  $#{name}-repeat: no-repeat !default;
135
109
  $#{name}-prefix: '' !default;
136
110
  $#{name}-clean-up: true !default;
111
+ $#{name}-layout:vertical !default;
137
112
 
138
- #{skip_overrides ? "$#{name}-sprites: sprite-map(\"#{uri}\", $cleanup: $#{name}-clean-up);" : generate_overrides }
113
+ #{skip_overrides ? "$#{name}-sprites: sprite-map(\"#{uri}\", $layout: $#{name}-layout, $cleanup: $#{name}-clean-up);" : generate_overrides(uri, name) }
139
114
 
140
115
  // All sprites should extend this class
141
116
  // The #{name}-sprite mixin will do so for you.
@@ -161,13 +136,13 @@ $#{name}-clean-up: true !default;
161
136
  @include sprite($#{name}-sprites, $name, $dimensions, $offset-x, $offset-y)
162
137
  }
163
138
 
164
- @mixin #{name}-sprites($sprite-names, $dimensions: $#{name}-sprite-dimensions, $prefix: sprite-map-name($#{name}-sprites)) {
165
- @include sprites($#{name}-sprites, $sprite-names, $#{name}-sprite-base-class, $dimensions, $prefix)
139
+ @mixin #{name}-sprites($sprite-names, $dimensions: $#{name}-sprite-dimensions, $prefix: sprite-map-name($#{name}-sprites), $offset-x: 0, $offset-y: 0) {
140
+ @include sprites($#{name}-sprites, $sprite-names, $#{name}-sprite-base-class, $dimensions, $prefix, $offset-x, $offset-y)
166
141
  }
167
142
 
168
143
  // Generates a class for each sprited image.
169
- @mixin all-#{name}-sprites($dimensions: $#{name}-sprite-dimensions, $prefix: sprite-map-name($#{name}-sprites)) {
170
- @include #{name}-sprites(#{sprite_names.join(" ")}, $dimensions, $prefix);
144
+ @mixin all-#{name}-sprites($dimensions: $#{name}-sprite-dimensions, $prefix: sprite-map-name($#{name}-sprites), $offset-x: 0, $offset-y: 0) {
145
+ @include #{name}-sprites(#{sprite_names(uri).join(" ")}, $dimensions, $prefix, $offset-x, $offset-y);
171
146
  }
172
147
  SCSS
173
148
  end
@@ -176,12 +151,13 @@ SCSS
176
151
  # <tt>$#{name}-#{sprite_name}-position </tt>
177
152
  # <tt> $#{name}-#{sprite_name}-spacing </tt>
178
153
  # <tt> #{name}-#{sprite_name}-repeat: </tt>
179
- def generate_overrides
154
+ def self.generate_overrides(uri, name)
155
+ sprites = sprite_names(uri)
180
156
  content = <<-TXT
181
157
  // These variables control the generated sprite output
182
158
  // You can override them selectively before you import this file.
183
159
  TXT
184
- sprite_names.map do |sprite_name|
160
+ sprites.map do |sprite_name|
185
161
  content += <<-SCSS
186
162
  $#{name}-#{sprite_name}-position: $#{name}-position !default;
187
163
  $#{name}-#{sprite_name}-spacing: $#{name}-spacing !default;
@@ -189,8 +165,8 @@ $#{name}-#{sprite_name}-repeat: $#{name}-repeat !default;
189
165
  SCSS
190
166
  end.join
191
167
 
192
- content += "\n$#{name}-sprites: sprite-map(\"#{uri}\", \n$cleanup: $#{name}-clean-up,\n"
193
- content += sprite_names.map do |sprite_name|
168
+ content += "\n$#{name}-sprites: sprite-map(\"#{uri}\", \n$layout: $#{name}-layout, \n$cleanup: $#{name}-clean-up,\n"
169
+ content += sprites.map do |sprite_name|
194
170
  %Q{ $#{sprite_name}-position: $#{name}-#{sprite_name}-position,
195
171
  $#{sprite_name}-spacing: $#{name}-#{sprite_name}-spacing,
196
172
  $#{sprite_name}-repeat: $#{name}-#{sprite_name}-repeat}
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 9595534255132031488
2
+ 333337424968067900
3
3
  x
4
4
  M
5
5
  1
@@ -140,284 +140,360 @@ x
140
140
  14
141
141
  SpriteImporter
142
142
  i
143
- 279
143
+ 355
144
144
  5
145
145
  66
146
- 65
146
+ 5
147
147
  7
148
148
  0
149
- 44
150
- 43
151
- 1
152
149
  7
150
+ 1
151
+ 47
152
+ 49
153
153
  2
154
- 45
154
+ 2
155
+ 15
156
+ 65
157
+ 7
155
158
  3
156
- 4
159
+ 44
157
160
  43
161
+ 4
162
+ 7
158
163
  5
159
- 43
164
+ 45
160
165
  6
161
- 43
162
166
  7
167
+ 43
168
+ 8
169
+ 43
170
+ 9
171
+ 43
172
+ 10
163
173
  47
164
174
  101
165
- 8
175
+ 11
166
176
  7
167
- 9
177
+ 12
168
178
  63
169
179
  3
170
180
  78
171
181
  49
172
- 10
182
+ 13
173
183
  2
174
184
  49
175
- 11
185
+ 14
176
186
  2
177
187
  15
178
188
  65
179
189
  7
180
- 12
190
+ 15
181
191
  7
182
- 13
192
+ 16
183
193
  13
184
194
  70
185
195
  9
186
- 55
196
+ 65
187
197
  15
188
198
  44
189
199
  43
190
- 1
200
+ 4
191
201
  7
192
- 14
202
+ 17
193
203
  78
194
204
  49
195
- 10
205
+ 13
196
206
  2
197
207
  6
198
- 13
208
+ 16
199
209
  49
200
- 11
210
+ 14
201
211
  2
202
212
  15
203
213
  65
204
214
  7
205
- 15
215
+ 18
206
216
  7
207
- 16
217
+ 19
208
218
  64
209
219
  35
210
220
  1
211
221
  49
212
- 11
222
+ 14
213
223
  2
214
224
  15
215
225
  99
216
226
  7
217
- 17
227
+ 20
218
228
  7
219
- 18
229
+ 21
220
230
  65
221
231
  5
222
232
  49
223
- 19
233
+ 22
224
234
  4
225
235
  15
226
236
  99
227
237
  7
228
- 20
238
+ 23
229
239
  7
230
- 21
240
+ 24
231
241
  65
232
242
  67
233
243
  49
234
- 22
244
+ 25
235
245
  0
236
246
  49
237
- 23
247
+ 26
238
248
  4
239
249
  15
240
250
  99
241
251
  7
242
- 24
252
+ 27
243
253
  7
244
- 25
254
+ 28
245
255
  65
246
256
  67
247
257
  49
248
- 22
258
+ 25
249
259
  0
250
260
  49
251
- 23
261
+ 26
252
262
  4
253
263
  15
254
264
  99
255
265
  7
256
- 8
266
+ 29
257
267
  7
268
+ 30
269
+ 65
270
+ 67
271
+ 49
272
+ 25
273
+ 0
274
+ 49
258
275
  26
276
+ 4
277
+ 15
278
+ 99
279
+ 7
280
+ 11
281
+ 7
282
+ 31
259
283
  65
260
284
  67
261
285
  49
262
- 22
286
+ 25
263
287
  0
264
288
  49
265
- 23
289
+ 26
266
290
  4
267
291
  15
268
292
  99
269
293
  7
270
- 27
294
+ 32
271
295
  7
272
- 28
296
+ 33
273
297
  65
274
298
  67
275
299
  49
276
- 22
300
+ 25
277
301
  0
278
302
  49
279
- 23
303
+ 26
280
304
  4
281
305
  15
282
306
  99
283
307
  7
284
- 29
308
+ 34
285
309
  7
286
- 30
310
+ 35
287
311
  65
288
312
  67
289
313
  49
290
- 22
314
+ 25
291
315
  0
292
316
  49
293
- 23
317
+ 26
294
318
  4
295
319
  15
296
320
  99
297
321
  7
298
- 31
322
+ 36
299
323
  7
300
- 32
324
+ 37
301
325
  65
302
326
  67
303
327
  49
304
- 22
328
+ 25
305
329
  0
306
330
  49
307
- 23
331
+ 26
308
332
  4
309
333
  15
310
334
  99
311
335
  7
312
- 33
336
+ 38
313
337
  7
314
- 34
338
+ 39
315
339
  65
316
340
  67
317
341
  49
318
- 22
342
+ 25
319
343
  0
320
344
  49
321
- 23
345
+ 26
322
346
  4
323
347
  15
324
348
  99
325
349
  7
326
- 35
350
+ 40
327
351
  7
328
- 36
352
+ 41
329
353
  65
330
354
  5
331
355
  49
332
- 19
356
+ 22
333
357
  4
334
358
  15
335
359
  99
336
360
  7
337
- 37
361
+ 42
338
362
  7
339
- 38
363
+ 43
340
364
  65
341
- 5
365
+ 67
342
366
  49
343
- 19
367
+ 25
368
+ 0
369
+ 49
370
+ 26
344
371
  4
345
372
  15
346
373
  99
347
374
  7
348
- 39
375
+ 44
349
376
  7
350
- 40
377
+ 45
351
378
  65
352
- 5
379
+ 67
353
380
  49
354
- 19
381
+ 25
382
+ 0
383
+ 49
384
+ 26
355
385
  4
356
386
  15
357
387
  99
358
388
  7
359
- 41
389
+ 46
360
390
  7
361
- 42
391
+ 47
362
392
  65
363
- 5
393
+ 67
364
394
  49
365
- 19
395
+ 25
396
+ 0
397
+ 49
398
+ 26
366
399
  4
367
400
  15
368
401
  99
369
402
  7
370
- 43
403
+ 48
371
404
  7
372
- 44
405
+ 49
373
406
  65
374
- 5
407
+ 67
375
408
  49
376
- 19
409
+ 25
410
+ 0
411
+ 49
412
+ 26
377
413
  4
378
414
  15
379
415
  99
380
416
  7
381
- 45
417
+ 50
382
418
  7
383
- 46
419
+ 51
384
420
  65
385
- 5
421
+ 67
386
422
  49
387
- 19
423
+ 25
424
+ 0
425
+ 49
426
+ 26
388
427
  4
389
428
  15
390
429
  99
391
430
  7
392
- 47
431
+ 52
393
432
  7
394
- 48
433
+ 53
395
434
  65
396
- 5
435
+ 67
397
436
  49
398
- 19
437
+ 25
438
+ 0
439
+ 49
440
+ 26
399
441
  4
400
442
  15
401
443
  99
402
444
  7
445
+ 54
446
+ 7
447
+ 55
448
+ 65
449
+ 67
450
+ 49
451
+ 25
452
+ 0
403
453
  49
454
+ 26
455
+ 4
456
+ 15
457
+ 99
404
458
  7
405
- 50
459
+ 56
460
+ 7
461
+ 57
406
462
  65
407
- 5
463
+ 67
408
464
  49
409
- 19
465
+ 25
466
+ 0
467
+ 49
468
+ 26
410
469
  4
411
470
  15
412
471
  99
413
472
  7
414
- 51
473
+ 58
415
474
  7
416
- 52
475
+ 59
417
476
  65
418
- 5
477
+ 67
419
478
  49
420
- 19
479
+ 25
480
+ 0
481
+ 49
482
+ 26
483
+ 4
484
+ 15
485
+ 99
486
+ 7
487
+ 60
488
+ 7
489
+ 61
490
+ 65
491
+ 67
492
+ 49
493
+ 25
494
+ 0
495
+ 49
496
+ 26
421
497
  4
422
498
  11
423
499
  I
@@ -430,12 +506,21 @@ I
430
506
  0
431
507
  n
432
508
  p
433
- 53
509
+ 62
434
510
  x
435
- 15
436
- VAILD_FILE_NAME
511
+ 3
512
+ uri
437
513
  x
438
- 6
514
+ 7
515
+ options
516
+ x
517
+ 13
518
+ attr_accessor
519
+ x
520
+ 15
521
+ VAILD_FILE_NAME
522
+ x
523
+ 6
439
524
  Regexp
440
525
  s
441
526
  2
@@ -479,129 +564,104 @@ s
479
564
  4
480
565
  .png
481
566
  x
482
- 25
483
- find_all_sprite_map_files
567
+ 4
568
+ load
484
569
  M
485
570
  1
486
571
  n
487
572
  n
488
573
  x
489
- 25
490
- find_all_sprite_map_files
574
+ 4
575
+ load
491
576
  i
492
- 59
493
- 7
577
+ 54
578
+ 45
494
579
  0
495
- 64
496
- 19
497
- 1
498
- 15
499
- 7
500
580
  1
501
- 20
502
- 1
503
- 4
504
- 10
505
- 49
581
+ 43
506
582
  2
507
- 1
508
- 47
509
- 101
583
+ 13
584
+ 71
510
585
  3
511
- 7
586
+ 47
587
+ 9
588
+ 23
589
+ 47
590
+ 49
512
591
  4
513
- 45
514
- 5
515
- 6
516
- 7
517
- 7
518
- 64
592
+ 0
593
+ 13
594
+ 47
519
595
  49
596
+ 5
597
+ 0
598
+ 15
520
599
  8
521
- 1
522
- 47
523
- 101
600
+ 26
601
+ 49
524
602
  3
525
- 7
526
- 9
527
- 63
528
- 5
603
+ 0
529
604
  19
530
605
  2
531
606
  15
532
- 45
533
- 10
534
- 11
535
- 45
536
- 12
537
- 13
538
607
  20
539
608
  0
540
- 7
541
- 14
542
- 64
543
609
  20
610
+ 1
611
+ 17
544
612
  2
613
+ 20
614
+ 2
615
+ 12
545
616
  49
546
- 8
547
- 3
548
- 49
617
+ 6
618
+ 1
549
619
  15
620
+ 20
621
+ 2
622
+ 12
623
+ 49
624
+ 7
550
625
  1
626
+ 15
627
+ 2
628
+ 15
629
+ 20
630
+ 2
551
631
  11
552
632
  I
553
- 8
633
+ 6
554
634
  I
555
635
  3
556
636
  I
557
- 1
637
+ 2
558
638
  I
559
- 1
639
+ 2
560
640
  n
561
641
  p
562
- 16
563
- s
564
642
  8
565
- [0-9a-f]
566
- s
567
- 3
568
- *-s
569
- x
570
- 1
571
- *
572
- x
573
- 4
574
- to_s
575
- s
576
- 1
577
- {
578
643
  x
579
- 16
580
- VALID_EXTENSIONS
644
+ 7
645
+ Compass
581
646
  n
582
- s
583
- 1
584
- ,
585
647
  x
586
- 4
587
- join
588
- s
589
- 1
590
- }
648
+ 14
649
+ SpriteImporter
591
650
  x
592
651
  3
593
- Dir
594
- n
652
+ new
595
653
  x
596
- 4
597
- File
598
- n
599
- s
600
- 2
601
- **
654
+ 8
655
+ allocate
656
+ x
657
+ 10
658
+ initialize
602
659
  x
603
660
  4
604
- glob
661
+ uri=
662
+ x
663
+ 8
664
+ options=
605
665
  p
606
666
  9
607
667
  I
@@ -613,32 +673,229 @@ I
613
673
  I
614
674
  9
615
675
  I
616
- 6
676
+ 1d
617
677
  I
618
678
  a
619
679
  I
620
- 27
680
+ 33
621
681
  I
622
682
  b
623
683
  I
624
- 3b
684
+ 36
625
685
  x
626
- 62
627
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
686
+ 60
687
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
628
688
  p
629
689
  3
630
690
  x
691
+ 3
692
+ uri
693
+ x
694
+ 7
695
+ options
696
+ x
697
+ 5
698
+ klass
699
+ x
700
+ 13
701
+ attach_method
702
+ x
703
+ 10
704
+ initialize
705
+ M
706
+ 1
707
+ n
708
+ n
709
+ x
710
+ 10
711
+ initialize
712
+ i
713
+ 42
714
+ 23
715
+ 0
716
+ 10
717
+ 14
718
+ 44
719
+ 43
720
+ 0
721
+ 78
722
+ 49
723
+ 1
724
+ 1
725
+ 19
726
+ 0
727
+ 15
728
+ 7
729
+ 2
730
+ 64
731
+ 44
732
+ 43
733
+ 0
734
+ 78
735
+ 49
736
+ 1
737
+ 1
738
+ 17
739
+ 2
740
+ 38
741
+ 3
742
+ 15
743
+ 38
631
744
  4
632
- path
745
+ 15
746
+ 2
747
+ 15
748
+ 20
749
+ 0
750
+ 56
751
+ 5
752
+ 50
753
+ 6
754
+ 0
755
+ 11
756
+ I
757
+ 4
758
+ I
759
+ 1
760
+ I
761
+ 0
762
+ I
763
+ 1
764
+ n
765
+ p
766
+ 7
767
+ x
768
+ 4
769
+ Hash
770
+ x
771
+ 16
772
+ new_from_literal
773
+ s
774
+ 0
775
+
776
+ x
777
+ 4
778
+ @uri
779
+ x
780
+ 8
781
+ @options
782
+ M
783
+ 1
784
+ p
785
+ 2
633
786
  x
787
+ 9
788
+ for_block
789
+ t
790
+ n
791
+ x
792
+ 10
793
+ initialize
794
+ i
795
+ 27
796
+ 58
797
+ 37
798
+ 19
799
+ 0
800
+ 15
801
+ 37
802
+ 19
803
+ 1
804
+ 15
805
+ 15
806
+ 5
807
+ 20
808
+ 0
809
+ 47
810
+ 101
811
+ 0
812
+ 7
813
+ 1
814
+ 63
815
+ 2
816
+ 20
817
+ 1
818
+ 47
819
+ 49
820
+ 2
821
+ 2
822
+ 11
823
+ I
824
+ 6
825
+ I
826
+ 2
827
+ I
828
+ 2
829
+ I
830
+ 2
831
+ n
832
+ p
634
833
  3
635
- hex
636
834
  x
637
835
  4
638
- glob
836
+ to_s
837
+ s
838
+ 1
839
+ =
840
+ x
841
+ 4
842
+ send
843
+ p
844
+ 5
845
+ I
846
+ 0
847
+ I
848
+ 10
849
+ I
850
+ a
851
+ I
852
+ 11
853
+ I
854
+ 1b
855
+ x
856
+ 60
857
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
858
+ p
859
+ 2
860
+ x
861
+ 3
862
+ key
863
+ x
864
+ 5
865
+ value
866
+ x
867
+ 4
868
+ each
869
+ p
870
+ 7
871
+ I
872
+ -1
873
+ I
874
+ e
875
+ I
876
+ e
877
+ I
878
+ f
879
+ I
880
+ 22
881
+ I
882
+ 10
883
+ I
884
+ 2a
885
+ x
886
+ 60
887
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
888
+ p
889
+ 1
890
+ x
891
+ 7
892
+ options
893
+ x
894
+ 17
895
+ method_visibility
639
896
  x
640
- 13
641
- attach_method
897
+ 15
898
+ add_defn_method
642
899
  x
643
900
  4
644
901
  find
@@ -650,47 +907,41 @@ x
650
907
  4
651
908
  find
652
909
  i
653
- 38
910
+ 32
654
911
  20
655
912
  0
656
- 45
657
- 0
913
+ 20
658
914
  1
659
- 49
915
+ 17
660
916
  2
661
- 1
662
- 9
663
- 34
664
- 5
665
- 49
666
- 3
917
+ 38
667
918
  0
919
+ 15
920
+ 38
921
+ 1
922
+ 15
923
+ 2
924
+ 15
668
925
  20
669
926
  0
670
- 5
671
- 49
927
+ 45
928
+ 2
672
929
  3
673
- 0
674
- 20
675
- 0
676
930
  49
677
931
  4
678
932
  1
933
+ 9
934
+ 30
679
935
  5
680
- 20
681
- 1
682
- 49
936
+ 48
683
937
  5
684
- 4
685
938
  11
686
939
  8
687
- 35
688
- 1
689
- 15
940
+ 31
690
941
  1
691
942
  11
692
943
  I
693
- 7
944
+ 4
694
945
  I
695
946
  2
696
947
  I
@@ -701,6 +952,12 @@ n
701
952
  p
702
953
  6
703
954
  x
955
+ 4
956
+ @uri
957
+ x
958
+ 8
959
+ @options
960
+ x
704
961
  21
705
962
  SPRITE_IMPORTER_REGEX
706
963
  n
@@ -708,45 +965,35 @@ x
708
965
  2
709
966
  =~
710
967
  x
711
- 5
712
- class
713
- x
714
- 11
715
- sprite_name
716
- x
717
968
  11
718
969
  sass_engine
719
970
  p
720
- 13
971
+ 11
721
972
  I
722
973
  -1
723
974
  I
724
- e
975
+ 15
725
976
  I
726
977
  0
727
978
  I
728
- f
729
- I
730
- a
731
- I
732
- 10
979
+ 16
733
980
  I
734
- 22
981
+ e
735
982
  I
736
- f
983
+ 17
737
984
  I
738
- 23
985
+ 18
739
986
  I
740
- 0
987
+ 18
741
988
  I
742
- 24
989
+ 1e
743
990
  I
744
- 12
991
+ 17
745
992
  I
746
- 26
993
+ 20
747
994
  x
748
- 62
749
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
995
+ 60
996
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
750
997
  p
751
998
  2
752
999
  x
@@ -756,12 +1003,6 @@ x
756
1003
  7
757
1004
  options
758
1005
  x
759
- 17
760
- method_visibility
761
- x
762
- 15
763
- add_defn_method
764
- x
765
1006
  13
766
1007
  find_relative
767
1008
  M
@@ -772,11 +1013,41 @@ x
772
1013
  13
773
1014
  find_relative
774
1015
  i
1016
+ 32
1017
+ 20
1018
+ 0
1019
+ 20
1020
+ 2
1021
+ 17
1022
+ 2
1023
+ 38
1024
+ 0
1025
+ 15
1026
+ 38
1027
+ 1
1028
+ 15
1029
+ 2
1030
+ 15
1031
+ 5
1032
+ 45
775
1033
  2
1034
+ 3
1035
+ 20
776
1036
  1
1037
+ 20
1038
+ 0
1039
+ 49
1040
+ 4
1041
+ 2
1042
+ 20
1043
+ 2
1044
+ 47
1045
+ 49
1046
+ 5
1047
+ 2
777
1048
  11
778
1049
  I
779
- 4
1050
+ 7
780
1051
  I
781
1052
  3
782
1053
  I
@@ -785,22 +1056,42 @@ I
785
1056
  3
786
1057
  n
787
1058
  p
788
- 0
1059
+ 6
1060
+ x
1061
+ 4
1062
+ @uri
1063
+ x
1064
+ 8
1065
+ @options
1066
+ x
1067
+ 4
1068
+ File
1069
+ n
1070
+ x
1071
+ 4
1072
+ join
1073
+ x
1074
+ 4
1075
+ find
789
1076
  p
790
- 5
1077
+ 7
791
1078
  I
792
1079
  -1
793
1080
  I
794
- 15
1081
+ 1c
795
1082
  I
796
1083
  0
797
1084
  I
798
- 16
1085
+ 1d
799
1086
  I
800
- 2
1087
+ e
1088
+ I
1089
+ 1e
1090
+ I
1091
+ 20
801
1092
  x
802
- 62
803
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1093
+ 60
1094
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
804
1095
  p
805
1096
  3
806
1097
  x
@@ -851,16 +1142,16 @@ p
851
1142
  I
852
1143
  -1
853
1144
  I
854
- 19
1145
+ 21
855
1146
  I
856
1147
  0
857
1148
  I
858
- 1a
1149
+ 22
859
1150
  I
860
1151
  8
861
1152
  x
862
- 62
863
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1153
+ 60
1154
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
864
1155
  p
865
1156
  0
866
1157
  x
@@ -911,16 +1202,16 @@ p
911
1202
  I
912
1203
  -1
913
1204
  I
914
- 1d
1205
+ 25
915
1206
  I
916
1207
  0
917
1208
  I
918
- 1e
1209
+ 26
919
1210
  I
920
1211
  b
921
1212
  x
922
- 62
923
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1213
+ 60
1214
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
924
1215
  p
925
1216
  0
926
1217
  x
@@ -969,16 +1260,16 @@ p
969
1260
  I
970
1261
  -1
971
1262
  I
972
- 21
1263
+ 29
973
1264
  I
974
1265
  0
975
1266
  I
976
- 22
1267
+ 2a
977
1268
  I
978
1269
  c
979
1270
  x
980
- 62
981
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1271
+ 60
1272
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
982
1273
  p
983
1274
  1
984
1275
  x
@@ -995,30 +1286,38 @@ x
995
1286
  5
996
1287
  mtime
997
1288
  i
998
- 25
999
- 5
1000
- 49
1001
- 0
1002
- 0
1289
+ 33
1003
1290
  20
1004
1291
  0
1005
- 49
1292
+ 20
1006
1293
  1
1294
+ 17
1295
+ 2
1296
+ 38
1297
+ 0
1298
+ 15
1299
+ 38
1007
1300
  1
1008
- 49
1301
+ 15
1302
+ 2
1303
+ 15
1304
+ 5
1305
+ 48
1009
1306
  2
1307
+ 49
1308
+ 3
1010
1309
  0
1011
1310
  45
1012
- 3
1013
1311
  4
1312
+ 5
1014
1313
  78
1015
1314
  49
1016
- 5
1315
+ 6
1017
1316
  1
1018
1317
  56
1019
- 6
1020
- 50
1021
1318
  7
1319
+ 50
1320
+ 8
1022
1321
  1
1023
1322
  11
1024
1323
  I
@@ -1031,10 +1330,13 @@ I
1031
1330
  2
1032
1331
  n
1033
1332
  p
1034
- 8
1333
+ 9
1035
1334
  x
1036
- 5
1037
- class
1335
+ 4
1336
+ @uri
1337
+ x
1338
+ 8
1339
+ @options
1038
1340
  x
1039
1341
  5
1040
1342
  files
@@ -1117,24 +1419,20 @@ x
1117
1419
  1
1118
1420
  >
1119
1421
  p
1120
- 7
1422
+ 5
1121
1423
  I
1122
1424
  0
1123
1425
  I
1124
- 26
1426
+ 2f
1125
1427
  I
1126
1428
  a
1127
1429
  I
1128
- 27
1129
- I
1130
- 20
1131
- I
1132
- 0
1430
+ 30
1133
1431
  I
1134
1432
  21
1135
1433
  x
1136
- 62
1137
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1434
+ 60
1435
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1138
1436
  p
1139
1437
  3
1140
1438
  x
@@ -1150,20 +1448,24 @@ x
1150
1448
  6
1151
1449
  inject
1152
1450
  p
1153
- 5
1451
+ 7
1154
1452
  I
1155
1453
  -1
1156
1454
  I
1157
- 25
1455
+ 2d
1158
1456
  I
1159
1457
  0
1160
1458
  I
1161
- 26
1459
+ 2e
1162
1460
  I
1163
- 19
1461
+ e
1462
+ I
1463
+ 2f
1464
+ I
1465
+ 21
1164
1466
  x
1165
- 62
1166
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1467
+ 60
1468
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1167
1469
  p
1168
1470
  2
1169
1471
  x
@@ -1183,7 +1485,7 @@ x
1183
1485
  3
1184
1486
  key
1185
1487
  i
1186
- 53
1488
+ 67
1187
1489
  23
1188
1490
  1
1189
1491
  10
@@ -1198,41 +1500,55 @@ i
1198
1500
  19
1199
1501
  1
1200
1502
  15
1503
+ 20
1504
+ 0
1505
+ 20
1506
+ 1
1507
+ 17
1508
+ 2
1509
+ 38
1510
+ 2
1511
+ 15
1512
+ 38
1513
+ 3
1514
+ 15
1515
+ 2
1516
+ 15
1201
1517
  5
1202
1518
  49
1203
- 2
1519
+ 4
1204
1520
  0
1205
1521
  49
1206
- 3
1522
+ 5
1207
1523
  0
1208
1524
  7
1209
- 4
1525
+ 6
1210
1526
  64
1211
1527
  81
1212
- 5
1213
- 45
1214
- 6
1215
1528
  7
1216
1529
  45
1217
- 6
1218
1530
  8
1531
+ 9
1532
+ 45
1533
+ 8
1534
+ 10
1219
1535
  20
1220
1536
  0
1221
1537
  49
1222
- 9
1538
+ 11
1223
1539
  1
1224
1540
  49
1225
- 10
1541
+ 12
1226
1542
  1
1227
1543
  81
1228
- 5
1544
+ 7
1229
1545
  45
1230
- 6
1231
- 11
1546
+ 8
1547
+ 13
1232
1548
  20
1233
1549
  0
1234
1550
  49
1235
- 12
1551
+ 14
1236
1552
  1
1237
1553
  35
1238
1554
  2
@@ -1247,7 +1563,7 @@ I
1247
1563
  2
1248
1564
  n
1249
1565
  p
1250
- 13
1566
+ 15
1251
1567
  x
1252
1568
  4
1253
1569
  Hash
@@ -1255,14 +1571,20 @@ x
1255
1571
  16
1256
1572
  new_from_literal
1257
1573
  x
1574
+ 4
1575
+ @uri
1576
+ x
1577
+ 8
1578
+ @options
1579
+ x
1258
1580
  5
1259
1581
  class
1260
1582
  x
1261
1583
  4
1262
1584
  name
1263
1585
  s
1264
- 8
1265
- :sprite:
1586
+ 1
1587
+ :
1266
1588
  x
1267
1589
  1
1268
1590
  +
@@ -1282,20 +1604,24 @@ x
1282
1604
  8
1283
1605
  basename
1284
1606
  p
1285
- 5
1607
+ 7
1286
1608
  I
1287
1609
  -1
1288
1610
  I
1289
- 2b
1611
+ 34
1290
1612
  I
1291
1613
  e
1292
1614
  I
1293
- 2c
1294
- I
1295
1615
  35
1616
+ I
1617
+ 1c
1618
+ I
1619
+ 36
1620
+ I
1621
+ 43
1296
1622
  x
1297
- 62
1298
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1623
+ 60
1624
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1299
1625
  p
1300
1626
  2
1301
1627
  x
@@ -1315,7 +1641,7 @@ x
1315
1641
  13
1316
1642
  path_and_name
1317
1643
  i
1318
- 40
1644
+ 41
1319
1645
  20
1320
1646
  0
1321
1647
  45
@@ -1341,20 +1667,21 @@ i
1341
1667
  35
1342
1668
  2
1343
1669
  8
1344
- 39
1670
+ 40
1345
1671
  5
1346
1672
  45
1347
1673
  4
1348
1674
  5
1349
- 43
1350
- 6
1351
- 7
1352
1675
  7
1676
+ 6
1353
1677
  64
1678
+ 49
1679
+ 7
1680
+ 1
1354
1681
  47
1355
1682
  49
1356
1683
  8
1357
- 2
1684
+ 1
1358
1685
  11
1359
1686
  I
1360
1687
  4
@@ -1381,125 +1708,102 @@ x
1381
1708
  7
1382
1709
  Compass
1383
1710
  n
1384
- x
1385
- 5
1386
- Error
1387
1711
  s
1388
1712
  19
1389
1713
  invalid sprite path
1390
1714
  x
1391
1715
  5
1716
+ Error
1717
+ x
1718
+ 5
1392
1719
  raise
1393
1720
  p
1394
- 11
1721
+ 9
1395
1722
  I
1396
1723
  -1
1397
1724
  I
1398
- 2f
1725
+ 39
1399
1726
  I
1400
1727
  0
1401
1728
  I
1402
- 30
1729
+ 3a
1403
1730
  I
1404
1731
  a
1405
1732
  I
1406
- 31
1733
+ 3b
1407
1734
  I
1408
1735
  1a
1409
1736
  I
1410
- 33
1411
- I
1412
- 27
1413
- I
1414
- 0
1737
+ 3d
1415
1738
  I
1416
- 28
1739
+ 29
1417
1740
  x
1418
- 62
1419
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1741
+ 60
1742
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1420
1743
  p
1421
1744
  1
1422
1745
  x
1423
1746
  3
1424
1747
  uri
1425
1748
  x
1426
- 11
1427
- sprite_name
1749
+ 4
1750
+ name
1428
1751
  M
1429
1752
  1
1430
1753
  n
1431
1754
  n
1432
1755
  x
1433
- 11
1434
- sprite_name
1756
+ 4
1757
+ name
1435
1758
  i
1436
- 22
1759
+ 9
1437
1760
  5
1438
- 20
1439
- 0
1440
1761
  47
1441
1762
  49
1442
1763
  0
1443
- 1
1444
- 97
1445
- 37
1446
- 19
1447
- 1
1448
- 15
1449
- 37
1450
- 19
1451
- 2
1452
- 15
1453
- 15
1454
- 2
1764
+ 0
1455
1765
  15
1456
- 20
1457
- 2
1766
+ 39
1767
+ 1
1458
1768
  11
1459
1769
  I
1460
- 5
1770
+ 1
1461
1771
  I
1462
- 3
1772
+ 0
1463
1773
  I
1464
- 1
1774
+ 0
1465
1775
  I
1466
- 1
1776
+ 0
1467
1777
  n
1468
1778
  p
1469
- 1
1779
+ 2
1470
1780
  x
1471
- 13
1472
- path_and_name
1781
+ 21
1782
+ ensure_path_and_name!
1783
+ x
1784
+ 5
1785
+ @name
1473
1786
  p
1474
1787
  7
1475
1788
  I
1476
1789
  -1
1477
1790
  I
1478
- 38
1791
+ 42
1479
1792
  I
1480
1793
  0
1481
1794
  I
1482
- 39
1795
+ 43
1483
1796
  I
1484
- 13
1797
+ 6
1485
1798
  I
1486
- 3a
1799
+ 44
1487
1800
  I
1488
- 16
1801
+ 9
1489
1802
  x
1490
- 62
1491
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1803
+ 60
1804
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1492
1805
  p
1493
- 3
1494
- x
1495
- 3
1496
- uri
1497
- x
1498
- 1
1499
- _
1500
- x
1501
- 4
1502
- name
1806
+ 0
1503
1807
  x
1504
1808
  4
1505
1809
  path
@@ -1511,121 +1815,187 @@ x
1511
1815
  4
1512
1816
  path
1513
1817
  i
1514
- 22
1818
+ 9
1515
1819
  5
1516
- 20
1517
- 0
1518
1820
  47
1519
1821
  49
1520
1822
  0
1823
+ 0
1824
+ 15
1825
+ 39
1521
1826
  1
1522
- 97
1523
- 37
1524
- 19
1827
+ 11
1828
+ I
1525
1829
  1
1526
- 15
1527
- 37
1528
- 19
1830
+ I
1831
+ 0
1832
+ I
1833
+ 0
1834
+ I
1835
+ 0
1836
+ n
1837
+ p
1529
1838
  2
1530
- 15
1531
- 15
1839
+ x
1840
+ 21
1841
+ ensure_path_and_name!
1842
+ x
1843
+ 5
1844
+ @path
1845
+ p
1846
+ 7
1847
+ I
1848
+ -1
1849
+ I
1850
+ 48
1851
+ I
1852
+ 0
1853
+ I
1854
+ 49
1855
+ I
1856
+ 6
1857
+ I
1858
+ 4a
1859
+ I
1860
+ 9
1861
+ x
1862
+ 60
1863
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1864
+ p
1865
+ 0
1866
+ x
1867
+ 5
1868
+ files
1869
+ M
1870
+ 1
1871
+ n
1872
+ n
1873
+ x
1874
+ 5
1875
+ files
1876
+ i
1877
+ 28
1878
+ 45
1879
+ 0
1880
+ 1
1881
+ 45
1532
1882
  2
1533
- 15
1534
- 20
1883
+ 3
1884
+ 45
1885
+ 4
1886
+ 5
1887
+ 49
1888
+ 6
1889
+ 0
1890
+ 49
1891
+ 7
1892
+ 0
1893
+ 5
1894
+ 48
1895
+ 8
1896
+ 49
1897
+ 9
1898
+ 2
1899
+ 49
1900
+ 10
1535
1901
  1
1902
+ 49
1903
+ 11
1904
+ 0
1536
1905
  11
1537
1906
  I
1538
- 5
1907
+ 4
1539
1908
  I
1540
- 3
1909
+ 0
1541
1910
  I
1542
- 1
1911
+ 0
1543
1912
  I
1544
- 1
1913
+ 0
1545
1914
  n
1546
1915
  p
1547
- 1
1916
+ 12
1917
+ x
1918
+ 3
1919
+ Dir
1920
+ n
1921
+ x
1922
+ 4
1923
+ File
1924
+ n
1925
+ x
1926
+ 7
1927
+ Compass
1928
+ n
1929
+ x
1930
+ 13
1931
+ configuration
1932
+ x
1933
+ 11
1934
+ images_path
1935
+ x
1936
+ 3
1937
+ uri
1938
+ x
1939
+ 4
1940
+ join
1548
1941
  x
1549
- 13
1550
- path_and_name
1942
+ 2
1943
+ []
1944
+ x
1945
+ 4
1946
+ sort
1551
1947
  p
1552
- 7
1948
+ 5
1553
1949
  I
1554
1950
  -1
1555
1951
  I
1556
- 3e
1952
+ 4e
1557
1953
  I
1558
1954
  0
1559
1955
  I
1560
- 3f
1561
- I
1562
- 13
1563
- I
1564
- 40
1956
+ 4f
1565
1957
  I
1566
- 16
1958
+ 1c
1567
1959
  x
1568
- 62
1569
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
1960
+ 60
1961
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1570
1962
  p
1571
- 3
1572
- x
1573
- 3
1574
- uri
1575
- x
1576
- 4
1577
- path
1578
- x
1579
- 1
1580
- _
1963
+ 0
1581
1964
  x
1582
- 5
1583
- files
1965
+ 12
1966
+ sprite_names
1584
1967
  M
1585
1968
  1
1586
1969
  n
1587
1970
  n
1588
1971
  x
1589
- 5
1590
- files
1972
+ 12
1973
+ sprite_names
1591
1974
  i
1592
- 15
1593
- 45
1594
- 0
1595
- 1
1596
- 49
1597
- 2
1598
- 0
1599
- 49
1600
- 3
1975
+ 9
1976
+ 5
1977
+ 48
1601
1978
  0
1602
1979
  56
1603
- 4
1980
+ 1
1604
1981
  50
1605
- 5
1982
+ 2
1606
1983
  0
1607
1984
  11
1608
1985
  I
1609
- 3
1986
+ 2
1610
1987
  I
1611
- 1
1988
+ 0
1612
1989
  I
1613
- 1
1990
+ 0
1614
1991
  I
1615
- 1
1992
+ 0
1616
1993
  n
1617
1994
  p
1618
- 6
1619
- x
1620
- 7
1621
- Compass
1622
- n
1623
- x
1624
- 13
1625
- configuration
1995
+ 3
1626
1996
  x
1627
- 16
1628
- sprite_load_path
1997
+ 5
1998
+ files
1629
1999
  M
1630
2000
  1
1631
2001
  p
@@ -1636,10 +2006,10 @@ for_block
1636
2006
  t
1637
2007
  n
1638
2008
  x
1639
- 5
1640
- files
2009
+ 12
2010
+ sprite_names
1641
2011
  i
1642
- 44
2012
+ 60
1643
2013
  57
1644
2014
  19
1645
2015
  0
@@ -1647,45 +2017,61 @@ i
1647
2017
  45
1648
2018
  0
1649
2019
  1
1650
- 45
1651
- 2
1652
- 3
1653
2020
  20
1654
2021
  0
1655
- 21
1656
- 1
1657
- 0
1658
- 49
1659
- 4
2022
+ 7
1660
2023
  2
2024
+ 64
1661
2025
  49
1662
- 5
1663
- 1
1664
- 49
1665
- 6
1666
- 0
2026
+ 3
2027
+ 2
1667
2028
  19
1668
2029
  1
1669
2030
  15
2031
+ 45
2032
+ 4
2033
+ 5
1670
2034
  20
1671
2035
  1
1672
2036
  49
1673
- 7
1674
- 0
2037
+ 6
2038
+ 1
1675
2039
  9
1676
- 38
2040
+ 31
1677
2041
  1
1678
- 11
1679
2042
  8
1680
- 39
2043
+ 56
2044
+ 5
2045
+ 45
2046
+ 7
2047
+ 8
2048
+ 43
2049
+ 9
2050
+ 7
2051
+ 10
2052
+ 45
2053
+ 0
2054
+ 11
2055
+ 20
2056
+ 0
2057
+ 49
2058
+ 3
1681
2059
  1
2060
+ 47
2061
+ 101
2062
+ 12
2063
+ 63
2064
+ 2
2065
+ 47
2066
+ 49
2067
+ 13
2068
+ 2
1682
2069
  15
1683
2070
  20
1684
2071
  1
1685
- 31
1686
2072
  11
1687
2073
  I
1688
- 7
2074
+ 8
1689
2075
  I
1690
2076
  2
1691
2077
  I
@@ -1694,104 +2080,111 @@ I
1694
2080
  1
1695
2081
  n
1696
2082
  p
1697
- 8
1698
- x
1699
- 3
1700
- Dir
1701
- n
2083
+ 14
1702
2084
  x
1703
2085
  4
1704
2086
  File
1705
2087
  n
1706
- x
2088
+ s
1707
2089
  4
1708
- join
2090
+ .png
2091
+ x
2092
+ 8
2093
+ basename
2094
+ x
2095
+ 15
2096
+ VAILD_FILE_NAME
2097
+ n
1709
2098
  x
1710
2099
  2
1711
- []
2100
+ =~
2101
+ x
2102
+ 7
2103
+ Compass
2104
+ n
2105
+ x
2106
+ 5
2107
+ Error
2108
+ s
2109
+ 63
2110
+ Sprite file names must be legal css identifiers. Please rename
2111
+ n
1712
2112
  x
1713
2113
  4
1714
- sort
2114
+ to_s
1715
2115
  x
1716
- 6
1717
- empty?
2116
+ 5
2117
+ raise
1718
2118
  p
1719
2119
  11
1720
2120
  I
1721
2121
  0
1722
2122
  I
1723
- 45
2123
+ 54
1724
2124
  I
1725
2125
  4
1726
2126
  I
1727
- 46
2127
+ 55
1728
2128
  I
1729
- 1b
2129
+ 12
1730
2130
  I
1731
- 47
2131
+ 56
1732
2132
  I
1733
- 27
2133
+ 1f
1734
2134
  I
1735
- 0
2135
+ 57
1736
2136
  I
1737
- 28
2137
+ 39
1738
2138
  I
1739
- 48
2139
+ 59
1740
2140
  I
1741
- 2c
2141
+ 3c
1742
2142
  x
1743
- 62
1744
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
2143
+ 60
2144
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1745
2145
  p
1746
2146
  2
1747
2147
  x
1748
- 6
1749
- folder
2148
+ 4
2149
+ file
1750
2150
  x
1751
- 5
1752
- files
2151
+ 8
2152
+ filename
1753
2153
  x
1754
- 4
1755
- each
2154
+ 7
2155
+ collect
1756
2156
  p
1757
2157
  5
1758
2158
  I
1759
2159
  -1
1760
2160
  I
1761
- 44
2161
+ 53
1762
2162
  I
1763
2163
  0
1764
2164
  I
1765
- 45
2165
+ 54
1766
2166
  I
1767
- f
2167
+ 9
1768
2168
  x
1769
- 62
1770
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
2169
+ 60
2170
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1771
2171
  p
1772
- 1
1773
- x
1774
- 3
1775
- uri
2172
+ 0
1776
2173
  x
1777
- 12
1778
- sprite_names
2174
+ 17
2175
+ validate_sprites!
1779
2176
  M
1780
2177
  1
1781
2178
  n
1782
2179
  n
1783
2180
  x
1784
- 12
1785
- sprite_names
2181
+ 17
2182
+ validate_sprites!
1786
2183
  i
1787
- 13
2184
+ 9
1788
2185
  5
1789
- 20
1790
- 0
1791
- 47
1792
- 49
2186
+ 48
1793
2187
  0
1794
- 1
1795
2188
  56
1796
2189
  1
1797
2190
  50
@@ -1799,13 +2192,13 @@ i
1799
2192
  0
1800
2193
  11
1801
2194
  I
1802
- 3
2195
+ 2
1803
2196
  I
1804
- 1
2197
+ 0
1805
2198
  I
1806
- 1
2199
+ 0
1807
2200
  I
1808
- 1
2201
+ 0
1809
2202
  n
1810
2203
  p
1811
2204
  3
@@ -1822,10 +2215,10 @@ for_block
1822
2215
  t
1823
2216
  n
1824
2217
  x
1825
- 12
1826
- sprite_names
2218
+ 17
2219
+ validate_sprites!
1827
2220
  i
1828
- 60
2221
+ 52
1829
2222
  57
1830
2223
  19
1831
2224
  0
@@ -1833,87 +2226,76 @@ i
1833
2226
  45
1834
2227
  0
1835
2228
  1
1836
- 20
1837
- 0
1838
- 7
2229
+ 45
1839
2230
  2
1840
- 64
1841
- 49
1842
2231
  3
1843
- 2
1844
- 19
1845
- 1
1846
- 15
1847
- 45
1848
- 4
1849
- 5
1850
2232
  20
2233
+ 0
2234
+ 49
2235
+ 4
1851
2236
  1
1852
2237
  49
1853
- 6
2238
+ 5
1854
2239
  1
1855
2240
  9
1856
- 31
2241
+ 23
1857
2242
  1
1858
2243
  8
1859
- 56
2244
+ 51
1860
2245
  5
1861
2246
  45
2247
+ 6
1862
2248
  7
1863
- 8
1864
2249
  43
1865
- 9
2250
+ 8
1866
2251
  7
1867
- 10
2252
+ 9
1868
2253
  45
1869
2254
  0
2255
+ 10
2256
+ 7
1870
2257
  11
1871
- 20
1872
- 0
2258
+ 64
1873
2259
  49
1874
- 3
2260
+ 12
1875
2261
  1
1876
2262
  47
1877
2263
  101
1878
- 12
2264
+ 13
2265
+ 7
2266
+ 14
1879
2267
  63
1880
- 2
2268
+ 3
1881
2269
  47
1882
2270
  49
1883
- 13
1884
- 2
1885
2271
  15
1886
- 20
1887
- 1
2272
+ 2
1888
2273
  11
1889
2274
  I
1890
- 8
2275
+ 7
1891
2276
  I
1892
- 2
2277
+ 1
1893
2278
  I
1894
2279
  1
1895
2280
  I
1896
2281
  1
1897
2282
  n
1898
2283
  p
1899
- 14
2284
+ 16
2285
+ x
2286
+ 16
2287
+ VALID_EXTENSIONS
2288
+ n
1900
2289
  x
1901
2290
  4
1902
2291
  File
1903
2292
  n
1904
- s
1905
- 4
1906
- .png
1907
2293
  x
1908
- 8
1909
- basename
1910
- x
1911
- 15
1912
- VAILD_FILE_NAME
1913
- n
2294
+ 7
2295
+ extname
1914
2296
  x
1915
- 2
1916
- =~
2297
+ 8
2298
+ include?
1917
2299
  x
1918
2300
  7
1919
2301
  Compass
@@ -1922,77 +2304,68 @@ x
1922
2304
  5
1923
2305
  Error
1924
2306
  s
1925
- 63
1926
- Sprite file names must be legal css identifiers. Please rename
2307
+ 31
2308
+ Invalid sprite extension only:
1927
2309
  n
2310
+ s
2311
+ 1
2312
+ ,
2313
+ x
2314
+ 4
2315
+ join
1928
2316
  x
1929
2317
  4
1930
2318
  to_s
2319
+ s
2320
+ 19
2321
+ images are allowed
1931
2322
  x
1932
2323
  5
1933
2324
  raise
1934
2325
  p
1935
- 13
2326
+ 7
1936
2327
  I
1937
2328
  0
1938
2329
  I
1939
- 4e
2330
+ 5e
1940
2331
  I
1941
2332
  4
1942
2333
  I
1943
- 4f
1944
- I
1945
- 12
1946
- I
1947
- 50
1948
- I
1949
- 1f
1950
- I
1951
- 51
1952
- I
1953
- 38
1954
- I
1955
- 0
2334
+ 5f
1956
2335
  I
1957
- 39
2336
+ 17
1958
2337
  I
1959
- 53
2338
+ 60
1960
2339
  I
1961
- 3c
2340
+ 34
1962
2341
  x
1963
- 62
1964
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
2342
+ 60
2343
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1965
2344
  p
1966
- 2
2345
+ 1
1967
2346
  x
1968
2347
  4
1969
2348
  file
1970
2349
  x
1971
- 8
1972
- filename
1973
- x
1974
- 7
1975
- collect
2350
+ 4
2351
+ each
1976
2352
  p
1977
2353
  5
1978
2354
  I
1979
2355
  -1
1980
2356
  I
1981
- 4d
2357
+ 5d
1982
2358
  I
1983
2359
  0
1984
2360
  I
1985
- 4e
2361
+ 5e
1986
2362
  I
1987
- d
2363
+ 9
1988
2364
  x
1989
- 62
1990
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
2365
+ 60
2366
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
1991
2367
  p
1992
- 1
1993
- x
1994
- 3
1995
- uri
2368
+ 0
1996
2369
  x
1997
2370
  12
1998
2371
  sass_options
@@ -2004,59 +2377,63 @@ x
2004
2377
  12
2005
2378
  sass_options
2006
2379
  i
2007
- 41
2008
- 20
2009
- 2
2380
+ 42
2381
+ 5
2382
+ 48
2383
+ 0
2010
2384
  44
2011
2385
  43
2012
- 0
2386
+ 1
2013
2387
  4
2014
2388
  3
2015
2389
  49
2016
- 1
2390
+ 2
2017
2391
  1
2018
2392
  13
2019
2393
  7
2020
- 2
2021
- 20
2022
- 0
2023
- 49
2024
2394
  3
2395
+ 5
2396
+ 48
2397
+ 4
2398
+ 49
2399
+ 5
2025
2400
  2
2026
2401
  15
2027
2402
  13
2028
2403
  7
2029
- 4
2404
+ 6
2405
+ 7
2030
2406
  7
2031
- 5
2032
2407
  49
2033
- 3
2408
+ 5
2034
2409
  2
2035
2410
  15
2036
2411
  13
2037
2412
  7
2038
- 6
2039
- 20
2040
- 1
2413
+ 8
2414
+ 5
2041
2415
  49
2042
- 3
2416
+ 5
2043
2417
  2
2044
2418
  15
2045
2419
  49
2046
- 7
2420
+ 9
2047
2421
  1
2048
2422
  11
2049
2423
  I
2050
- 8
2424
+ 5
2051
2425
  I
2052
- 3
2426
+ 0
2053
2427
  I
2054
- 3
2428
+ 0
2055
2429
  I
2056
- 3
2430
+ 0
2057
2431
  n
2058
2432
  p
2059
- 8
2433
+ 10
2434
+ x
2435
+ 7
2436
+ options
2060
2437
  x
2061
2438
  4
2062
2439
  Hash
@@ -2067,6 +2444,9 @@ x
2067
2444
  8
2068
2445
  filename
2069
2446
  x
2447
+ 4
2448
+ name
2449
+ x
2070
2450
  3
2071
2451
  []=
2072
2452
  x
@@ -2079,34 +2459,25 @@ x
2079
2459
  8
2080
2460
  importer
2081
2461
  x
2082
- 6
2083
- merge!
2462
+ 5
2463
+ merge
2084
2464
  p
2085
2465
  5
2086
2466
  I
2087
2467
  -1
2088
2468
  I
2089
- 58
2469
+ 66
2090
2470
  I
2091
2471
  0
2092
2472
  I
2093
- 59
2473
+ 67
2094
2474
  I
2095
- 29
2475
+ 2a
2096
2476
  x
2097
- 62
2098
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
2477
+ 60
2478
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
2099
2479
  p
2100
- 3
2101
- x
2102
- 3
2103
- uri
2104
- x
2105
- 8
2106
- importer
2107
- x
2108
- 7
2109
- options
2480
+ 0
2110
2481
  x
2111
2482
  11
2112
2483
  sass_engine
@@ -2118,99 +2489,66 @@ x
2118
2489
  11
2119
2490
  sass_engine
2120
2491
  i
2121
- 72
2492
+ 45
2122
2493
  5
2123
- 20
2124
- 0
2125
- 20
2126
- 1
2127
- 20
2128
- 3
2129
- 7
2130
- 0
2131
- 49
2132
- 1
2133
- 1
2134
2494
  47
2135
2495
  49
2136
- 2
2137
- 3
2138
- 19
2139
- 4
2496
+ 0
2497
+ 0
2140
2498
  15
2141
2499
  45
2142
- 3
2143
- 4
2500
+ 1
2501
+ 2
2144
2502
  43
2145
- 5
2503
+ 3
2146
2504
  13
2147
2505
  71
2148
- 6
2506
+ 4
2149
2507
  47
2150
2508
  9
2151
- 55
2509
+ 35
2152
2510
  47
2153
2511
  49
2154
- 7
2512
+ 5
2155
2513
  0
2156
2514
  13
2157
- 20
2158
- 4
2159
2515
  5
2160
- 20
2161
- 0
2162
- 20
2163
- 2
2164
- 20
2165
- 3
2516
+ 48
2517
+ 6
2518
+ 5
2519
+ 48
2520
+ 7
2166
2521
  47
2167
2522
  49
2168
2523
  8
2169
- 3
2170
- 47
2171
- 49
2172
- 9
2173
2524
  2
2174
2525
  15
2175
2526
  8
2176
- 71
2177
- 20
2178
- 4
2527
+ 44
2179
2528
  5
2180
- 20
2181
- 0
2182
- 20
2183
- 2
2184
- 20
2185
- 3
2186
- 47
2187
- 49
2188
- 8
2189
- 3
2190
- 49
2529
+ 48
2191
2530
  6
2531
+ 5
2532
+ 48
2533
+ 7
2534
+ 49
2535
+ 4
2192
2536
  2
2193
2537
  11
2194
2538
  I
2195
- c
2539
+ 4
2196
2540
  I
2197
- 5
2541
+ 0
2198
2542
  I
2199
- 4
2543
+ 0
2200
2544
  I
2201
- 4
2545
+ 0
2202
2546
  n
2203
2547
  p
2204
- 10
2205
- x
2206
- 14
2207
- skip_overrides
2208
- x
2209
- 2
2210
- []
2548
+ 9
2211
2549
  x
2212
- 18
2213
- content_for_images
2550
+ 17
2551
+ validate_sprites!
2214
2552
  x
2215
2553
  4
2216
2554
  Sass
@@ -2225,6 +2563,9 @@ x
2225
2563
  8
2226
2564
  allocate
2227
2565
  x
2566
+ 18
2567
+ content_for_images
2568
+ x
2228
2569
  12
2229
2570
  sass_options
2230
2571
  x
@@ -2235,37 +2576,99 @@ p
2235
2576
  I
2236
2577
  -1
2237
2578
  I
2238
- 5d
2579
+ 6b
2239
2580
  I
2240
2581
  0
2241
2582
  I
2242
- 5e
2583
+ 6c
2243
2584
  I
2244
- 13
2585
+ 6
2245
2586
  I
2246
- 5f
2587
+ 6d
2247
2588
  I
2248
- 48
2589
+ 2d
2249
2590
  x
2250
- 62
2251
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
2591
+ 60
2592
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
2593
+ p
2594
+ 0
2595
+ x
2596
+ 21
2597
+ ensure_path_and_name!
2598
+ M
2599
+ 1
2600
+ n
2601
+ n
2602
+ x
2603
+ 21
2604
+ ensure_path_and_name!
2605
+ i
2606
+ 22
2607
+ 5
2608
+ 49
2609
+ 0
2610
+ 0
2611
+ 5
2612
+ 48
2613
+ 1
2614
+ 49
2615
+ 2
2616
+ 1
2617
+ 97
2618
+ 37
2619
+ 38
2620
+ 3
2621
+ 15
2622
+ 37
2623
+ 38
2624
+ 4
2625
+ 15
2626
+ 15
2627
+ 2
2628
+ 11
2629
+ I
2630
+ 2
2631
+ I
2632
+ 0
2633
+ I
2634
+ 0
2635
+ I
2636
+ 0
2637
+ n
2252
2638
  p
2253
2639
  5
2254
2640
  x
2641
+ 5
2642
+ class
2643
+ x
2255
2644
  3
2256
2645
  uri
2257
2646
  x
2258
- 4
2259
- name
2647
+ 13
2648
+ path_and_name
2260
2649
  x
2261
- 8
2262
- importer
2650
+ 5
2651
+ @path
2263
2652
  x
2264
- 7
2265
- options
2653
+ 5
2654
+ @name
2655
+ p
2656
+ 5
2657
+ I
2658
+ -1
2659
+ I
2660
+ 70
2661
+ I
2662
+ 0
2663
+ I
2664
+ 71
2665
+ I
2666
+ 16
2266
2667
  x
2267
- 7
2268
- content
2668
+ 60
2669
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
2670
+ p
2671
+ 0
2269
2672
  x
2270
2673
  18
2271
2674
  content_for_images
@@ -2277,279 +2680,286 @@ x
2277
2680
  18
2278
2681
  content_for_images
2279
2682
  i
2280
- 286
2683
+ 293
2281
2684
  23
2282
- 2
2685
+ 0
2283
2686
  10
2284
2687
  8
2285
2688
  3
2286
2689
  19
2287
- 2
2690
+ 0
2288
2691
  15
2289
2692
  7
2290
2693
  0
2291
- 20
2694
+ 5
2695
+ 48
2292
2696
  1
2293
2697
  47
2294
2698
  101
2295
- 1
2296
- 7
2297
2699
  2
2298
- 20
2299
- 1
2300
- 47
2301
- 101
2302
- 1
2303
2700
  7
2304
2701
  3
2305
- 20
2702
+ 5
2703
+ 48
2306
2704
  1
2307
2705
  47
2308
2706
  101
2309
- 1
2707
+ 2
2310
2708
  7
2311
2709
  4
2312
- 20
2710
+ 5
2711
+ 48
2313
2712
  1
2314
2713
  47
2315
2714
  101
2316
- 1
2715
+ 2
2317
2716
  7
2318
2717
  5
2319
- 20
2718
+ 5
2719
+ 48
2320
2720
  1
2321
2721
  47
2322
2722
  101
2323
- 1
2723
+ 2
2324
2724
  7
2325
2725
  6
2326
- 20
2726
+ 5
2727
+ 48
2327
2728
  1
2328
2729
  47
2329
2730
  101
2330
- 1
2731
+ 2
2331
2732
  7
2332
2733
  7
2333
- 20
2734
+ 5
2735
+ 48
2334
2736
  1
2335
2737
  47
2336
2738
  101
2337
- 1
2739
+ 2
2338
2740
  7
2339
2741
  8
2340
- 20
2742
+ 5
2743
+ 48
2341
2744
  1
2342
2745
  47
2343
2746
  101
2344
- 1
2747
+ 2
2345
2748
  7
2346
2749
  9
2347
- 20
2750
+ 5
2751
+ 48
2348
2752
  1
2349
2753
  47
2350
2754
  101
2351
- 1
2755
+ 2
2352
2756
  7
2353
2757
  10
2354
2758
  20
2355
- 2
2759
+ 0
2356
2760
  9
2357
- 111
2761
+ 108
2358
2762
  7
2359
2763
  11
2360
- 20
2764
+ 5
2765
+ 48
2361
2766
  1
2362
2767
  47
2363
2768
  101
2364
- 1
2769
+ 2
2365
2770
  7
2366
2771
  12
2367
- 20
2368
- 0
2369
- 47
2370
- 101
2371
- 1
2372
- 7
2772
+ 5
2773
+ 48
2373
2774
  13
2374
- 20
2375
- 1
2376
2775
  47
2377
2776
  101
2378
- 1
2777
+ 2
2379
2778
  7
2380
2779
  14
2381
- 20
2780
+ 5
2781
+ 48
2382
2782
  1
2383
2783
  47
2384
2784
  101
2385
- 1
2785
+ 2
2386
2786
  7
2387
2787
  15
2388
2788
  63
2389
- 9
2789
+ 7
2390
2790
  8
2391
- 120
2791
+ 111
2392
2792
  5
2393
- 20
2394
- 0
2395
- 20
2396
- 1
2397
- 47
2398
- 49
2793
+ 48
2399
2794
  16
2400
- 2
2401
2795
  47
2402
2796
  101
2403
- 1
2797
+ 2
2404
2798
  7
2405
2799
  17
2406
- 20
2800
+ 5
2801
+ 48
2407
2802
  1
2408
2803
  47
2409
2804
  101
2410
- 1
2805
+ 2
2411
2806
  7
2412
2807
  18
2413
- 20
2808
+ 5
2809
+ 48
2414
2810
  1
2415
2811
  47
2416
2812
  101
2417
- 1
2813
+ 2
2418
2814
  7
2419
2815
  19
2420
- 20
2816
+ 5
2817
+ 48
2421
2818
  1
2422
2819
  47
2423
2820
  101
2424
- 1
2821
+ 2
2425
2822
  7
2426
2823
  20
2427
- 20
2824
+ 5
2825
+ 48
2428
2826
  1
2429
2827
  47
2430
2828
  101
2431
- 1
2829
+ 2
2432
2830
  7
2433
2831
  21
2434
- 20
2832
+ 5
2833
+ 48
2435
2834
  1
2436
2835
  47
2437
2836
  101
2438
- 1
2837
+ 2
2439
2838
  7
2440
2839
  22
2441
- 20
2840
+ 5
2841
+ 48
2442
2842
  1
2443
2843
  47
2444
2844
  101
2445
- 1
2845
+ 2
2446
2846
  7
2447
2847
  23
2448
- 20
2848
+ 5
2849
+ 48
2449
2850
  1
2450
2851
  47
2451
2852
  101
2452
- 1
2853
+ 2
2453
2854
  7
2454
2855
  24
2455
- 20
2856
+ 5
2857
+ 48
2456
2858
  1
2457
2859
  47
2458
2860
  101
2459
- 1
2861
+ 2
2460
2862
  7
2461
2863
  25
2462
- 20
2864
+ 5
2865
+ 48
2463
2866
  1
2464
2867
  47
2465
2868
  101
2466
- 1
2869
+ 2
2467
2870
  7
2468
2871
  26
2469
- 20
2872
+ 5
2873
+ 48
2470
2874
  1
2471
2875
  47
2472
2876
  101
2473
- 1
2877
+ 2
2474
2878
  7
2475
2879
  27
2476
- 20
2880
+ 5
2881
+ 48
2477
2882
  1
2478
2883
  47
2479
2884
  101
2480
- 1
2885
+ 2
2481
2886
  7
2482
2887
  28
2483
- 20
2888
+ 5
2889
+ 48
2484
2890
  1
2485
2891
  47
2486
2892
  101
2487
- 1
2893
+ 2
2488
2894
  7
2489
2895
  29
2490
- 20
2896
+ 5
2897
+ 48
2491
2898
  1
2492
2899
  47
2493
2900
  101
2494
- 1
2901
+ 2
2495
2902
  7
2496
2903
  30
2497
- 20
2904
+ 5
2905
+ 48
2498
2906
  1
2499
2907
  47
2500
2908
  101
2501
- 1
2909
+ 2
2502
2910
  7
2503
2911
  31
2504
- 20
2912
+ 5
2913
+ 48
2505
2914
  1
2506
2915
  47
2507
2916
  101
2508
- 1
2917
+ 2
2509
2918
  7
2510
2919
  32
2511
- 20
2920
+ 5
2921
+ 48
2512
2922
  1
2513
2923
  47
2514
2924
  101
2515
- 1
2925
+ 2
2516
2926
  7
2517
2927
  33
2518
- 20
2928
+ 5
2929
+ 48
2519
2930
  1
2520
2931
  47
2521
2932
  101
2522
- 1
2933
+ 2
2523
2934
  7
2524
2935
  34
2525
- 20
2936
+ 5
2937
+ 48
2526
2938
  1
2527
2939
  47
2528
2940
  101
2529
- 1
2941
+ 2
2530
2942
  7
2531
2943
  30
2532
- 20
2944
+ 5
2945
+ 48
2533
2946
  1
2534
2947
  47
2535
2948
  101
2536
- 1
2949
+ 2
2537
2950
  7
2538
2951
  35
2539
- 20
2952
+ 5
2953
+ 48
2540
2954
  1
2541
2955
  47
2542
2956
  101
2543
- 1
2957
+ 2
2544
2958
  7
2545
2959
  36
2546
2960
  5
2547
- 20
2548
- 0
2549
- 47
2550
- 49
2961
+ 48
2551
2962
  37
2552
- 1
2553
2963
  7
2554
2964
  38
2555
2965
  64
@@ -2558,20 +2968,20 @@ i
2558
2968
  1
2559
2969
  47
2560
2970
  101
2561
- 1
2971
+ 2
2562
2972
  7
2563
2973
  40
2564
2974
  63
2565
- 63
2975
+ 61
2566
2976
  11
2567
2977
  I
2568
- 42
2978
+ 3e
2569
2979
  I
2570
- 3
2980
+ 1
2571
2981
  I
2572
- 2
2982
+ 0
2573
2983
  I
2574
- 3
2984
+ 1
2575
2985
  n
2576
2986
  p
2577
2987
  41
@@ -2584,6 +2994,9 @@ s
2584
2994
  $
2585
2995
  x
2586
2996
  4
2997
+ name
2998
+ x
2999
+ 4
2587
3000
  to_s
2588
3001
  s
2589
3002
  22
@@ -2615,10 +3028,6 @@ $
2615
3028
  s
2616
3029
  27
2617
3030
  -clean-up: true !default;
2618
- $
2619
- s
2620
- 29
2621
- -layout: vertical !default;
2622
3031
 
2623
3032
 
2624
3033
  s
@@ -2627,12 +3036,12 @@ $
2627
3036
  s
2628
3037
  22
2629
3038
  -sprites: sprite-map("
3039
+ x
3040
+ 3
3041
+ uri
2630
3042
  s
2631
- 13
2632
- ", $layout: $
2633
- s
2634
- 20
2635
- -layout, $cleanup: $
3043
+ 14
3044
+ ", $cleanup: $
2636
3045
  s
2637
3046
  11
2638
3047
  -clean-up);
@@ -2708,15 +3117,15 @@ s
2708
3117
  46
2709
3118
  -sprite-dimensions, $prefix: sprite-map-name($
2710
3119
  s
2711
- 61
2712
- -sprites), $offset-x: 0, $offset-y: 0) {
3120
+ 33
3121
+ -sprites)) {
2713
3122
  @include sprites($
2714
3123
  s
2715
3124
  26
2716
3125
  -sprites, $sprite-names, $
2717
3126
  s
2718
- 123
2719
- -sprite-base-class, $dimensions, $prefix, $offset-x, $offset-y)
3127
+ 101
3128
+ -sprite-base-class, $dimensions, $prefix)
2720
3129
  }
2721
3130
 
2722
3131
  // Generates a class for each sprited image.
@@ -2725,8 +3134,8 @@ s
2725
3134
  23
2726
3135
  -sprites($dimensions: $
2727
3136
  s
2728
- 52
2729
- -sprites), $offset-x: 0, $offset-y: 0) {
3137
+ 24
3138
+ -sprites)) {
2730
3139
  @include
2731
3140
  s
2732
3141
  9
@@ -2741,125 +3150,111 @@ x
2741
3150
  4
2742
3151
  join
2743
3152
  s
2744
- 49
2745
- , $dimensions, $prefix, $offset-x, $offset-y);
3153
+ 27
3154
+ , $dimensions, $prefix);
2746
3155
  }
2747
3156
 
2748
3157
  p
2749
- 51
3158
+ 47
2750
3159
  I
2751
3160
  -1
2752
3161
  I
2753
- 63
3162
+ 75
2754
3163
  I
2755
3164
  8
2756
3165
  I
2757
- 69
2758
- I
2759
- 18
2760
- I
2761
- 6a
3166
+ 7b
2762
3167
  I
2763
- 1f
3168
+ 1a
2764
3169
  I
2765
- 6b
3170
+ 7c
2766
3171
  I
2767
- 26
3172
+ 22
2768
3173
  I
2769
- 6c
3174
+ 7d
2770
3175
  I
2771
- 2d
3176
+ 2a
2772
3177
  I
2773
- 6d
3178
+ 7e
2774
3179
  I
2775
- 34
3180
+ 32
2776
3181
  I
2777
- 6e
3182
+ 7f
2778
3183
  I
2779
- 3b
3184
+ 3a
2780
3185
  I
2781
- 6f
3186
+ 80
2782
3187
  I
2783
3188
  42
2784
3189
  I
2785
- 70
3190
+ 81
2786
3191
  I
2787
- 49
3192
+ 4a
2788
3193
  I
2789
- 72
3194
+ 83
2790
3195
  I
2791
- 78
3196
+ 74
2792
3197
  I
2793
- 0
3198
+ 86
2794
3199
  I
2795
- 7d
3200
+ 7c
2796
3201
  I
2797
- 75
3202
+ 87
2798
3203
  I
2799
3204
  84
2800
3205
  I
2801
- 76
2802
- I
2803
- 8b
2804
- I
2805
- 77
3206
+ 88
2806
3207
  I
2807
- 92
3208
+ 8c
2808
3209
  I
2809
- 7c
3210
+ 8d
2810
3211
  I
2811
- 99
3212
+ 94
2812
3213
  I
2813
- 7d
3214
+ 8e
2814
3215
  I
2815
- a0
3216
+ 9c
2816
3217
  I
2817
- 81
3218
+ 92
2818
3219
  I
2819
- a7
3220
+ a4
2820
3221
  I
2821
- 82
3222
+ 93
2822
3223
  I
2823
- ae
3224
+ ac
2824
3225
  I
2825
- 87
3226
+ 98
2826
3227
  I
2827
3228
  bc
2828
3229
  I
2829
- 88
3230
+ 99
2830
3231
  I
2831
- c3
3232
+ c4
2832
3233
  I
2833
- 89
3234
+ 9a
2834
3235
  I
2835
- ca
3236
+ cc
2836
3237
  I
2837
- 8c
3238
+ 9d
2838
3239
  I
2839
- df
3240
+ e4
2840
3241
  I
2841
- 8d
3242
+ 9e
2842
3243
  I
2843
- ed
3244
+ f4
2844
3245
  I
2845
- 91
3246
+ a2
2846
3247
  I
2847
- 102
3248
+ 10c
2848
3249
  I
2849
- 92
3250
+ a3
2850
3251
  I
2851
- 11e
3252
+ 125
2852
3253
  x
2853
- 62
2854
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
3254
+ 60
3255
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
2855
3256
  p
2856
- 3
2857
- x
2858
- 3
2859
- uri
2860
- x
2861
- 4
2862
- name
3257
+ 1
2863
3258
  x
2864
3259
  14
2865
3260
  skip_overrides
@@ -2874,25 +3269,16 @@ x
2874
3269
  18
2875
3270
  generate_overrides
2876
3271
  i
2877
- 96
2878
- 5
2879
- 20
2880
- 0
2881
- 47
2882
- 49
2883
- 0
2884
- 1
2885
- 19
2886
- 2
2887
- 15
3272
+ 84
2888
3273
  7
2889
- 1
3274
+ 0
2890
3275
  64
2891
3276
  19
2892
- 3
3277
+ 0
2893
3278
  15
2894
- 20
2895
- 2
3279
+ 5
3280
+ 48
3281
+ 1
2896
3282
  56
2897
3283
  2
2898
3284
  50
@@ -2903,93 +3289,90 @@ i
2903
3289
  0
2904
3290
  15
2905
3291
  20
2906
- 3
3292
+ 0
2907
3293
  7
2908
3294
  5
2909
- 20
2910
- 1
2911
- 47
2912
- 101
3295
+ 5
3296
+ 48
2913
3297
  6
2914
- 7
2915
- 7
2916
- 20
2917
- 0
2918
3298
  47
2919
3299
  101
2920
- 6
3300
+ 7
2921
3301
  7
2922
3302
  8
2923
- 20
2924
- 1
3303
+ 5
3304
+ 48
3305
+ 9
2925
3306
  47
2926
3307
  101
2927
- 6
2928
3308
  7
2929
- 9
2930
- 20
2931
- 1
3309
+ 7
3310
+ 10
3311
+ 5
3312
+ 48
3313
+ 6
2932
3314
  47
2933
3315
  101
2934
- 6
2935
3316
  7
2936
- 10
3317
+ 7
3318
+ 11
2937
3319
  63
2938
- 9
3320
+ 7
2939
3321
  81
2940
- 11
3322
+ 12
2941
3323
  19
2942
- 3
3324
+ 0
2943
3325
  15
2944
3326
  20
2945
- 3
2946
- 20
2947
- 2
3327
+ 0
3328
+ 5
3329
+ 48
3330
+ 1
2948
3331
  56
2949
- 12
3332
+ 13
2950
3333
  50
2951
3334
  3
2952
3335
  0
2953
3336
  7
2954
- 13
3337
+ 14
2955
3338
  64
2956
3339
  49
2957
3340
  4
2958
3341
  1
2959
3342
  81
2960
- 11
3343
+ 12
2961
3344
  19
2962
- 3
3345
+ 0
2963
3346
  15
2964
3347
  20
2965
- 3
3348
+ 0
2966
3349
  7
2967
- 14
3350
+ 15
2968
3351
  64
2969
3352
  81
2970
- 11
3353
+ 12
2971
3354
  19
2972
- 3
3355
+ 0
2973
3356
  11
2974
3357
  I
2975
- e
3358
+ 9
2976
3359
  I
2977
- 4
3360
+ 1
2978
3361
  I
2979
- 2
3362
+ 0
2980
3363
  I
2981
- 2
3364
+ 0
2982
3365
  n
2983
3366
  p
2984
- 15
2985
- x
2986
- 12
2987
- sprite_names
3367
+ 16
2988
3368
  s
2989
3369
  121
2990
3370
  // These variables control the generated sprite output
2991
3371
  // You can override them selectively before you import this file.
2992
3372
 
3373
+ x
3374
+ 12
3375
+ sprite_names
2993
3376
  M
2994
3377
  1
2995
3378
  p
@@ -3010,85 +3393,85 @@ i
3010
3393
  15
3011
3394
  21
3012
3395
  1
3013
- 3
3396
+ 0
3014
3397
  7
3015
3398
  0
3016
- 21
3017
- 1
3399
+ 5
3400
+ 48
3018
3401
  1
3019
3402
  47
3020
3403
  101
3021
- 1
3022
- 7
3023
3404
  2
3024
- 20
3025
- 0
3026
- 47
3027
- 101
3028
- 1
3029
3405
  7
3030
- 3
3031
- 21
3032
- 1
3033
- 1
3406
+ 3
3407
+ 20
3408
+ 0
3034
3409
  47
3035
3410
  101
3036
- 1
3411
+ 2
3037
3412
  7
3038
3413
  4
3039
- 21
3040
- 1
3414
+ 5
3415
+ 48
3041
3416
  1
3042
3417
  47
3043
3418
  101
3044
- 1
3419
+ 2
3045
3420
  7
3421
+ 5
3422
+ 5
3423
+ 48
3424
+ 1
3425
+ 47
3426
+ 101
3046
3427
  2
3428
+ 7
3429
+ 3
3047
3430
  20
3048
3431
  0
3049
3432
  47
3050
3433
  101
3051
- 1
3434
+ 2
3052
3435
  7
3436
+ 6
3053
3437
  5
3054
- 21
3055
- 1
3438
+ 48
3056
3439
  1
3057
3440
  47
3058
3441
  101
3059
- 1
3442
+ 2
3060
3443
  7
3061
- 6
3062
- 21
3063
- 1
3444
+ 7
3445
+ 5
3446
+ 48
3064
3447
  1
3065
3448
  47
3066
3449
  101
3067
- 1
3068
- 7
3069
3450
  2
3451
+ 7
3452
+ 3
3070
3453
  20
3071
3454
  0
3072
3455
  47
3073
3456
  101
3074
- 1
3075
- 7
3457
+ 2
3076
3458
  7
3077
- 21
3078
- 1
3459
+ 8
3460
+ 5
3461
+ 48
3079
3462
  1
3080
3463
  47
3081
3464
  101
3082
- 1
3465
+ 2
3083
3466
  7
3084
- 8
3467
+ 9
3085
3468
  63
3086
3469
  19
3087
3470
  81
3088
- 9
3471
+ 10
3089
3472
  22
3090
3473
  1
3091
- 3
3474
+ 0
3092
3475
  11
3093
3476
  I
3094
3477
  16
@@ -3100,12 +3483,15 @@ I
3100
3483
  1
3101
3484
  n
3102
3485
  p
3103
- 10
3486
+ 11
3104
3487
  s
3105
3488
  1
3106
3489
  $
3107
3490
  x
3108
3491
  4
3492
+ name
3493
+ x
3494
+ 4
3109
3495
  to_s
3110
3496
  s
3111
3497
  1
@@ -3139,32 +3525,32 @@ p
3139
3525
  I
3140
3526
  0
3141
3527
  I
3142
- a1
3528
+ b1
3143
3529
  I
3144
3530
  4
3145
3531
  I
3146
- a2
3532
+ b2
3147
3533
  I
3148
3534
  7
3149
3535
  I
3150
- a3
3536
+ b3
3151
3537
  I
3152
3538
  20
3153
3539
  I
3154
- a4
3540
+ b4
3155
3541
  I
3156
3542
  37
3157
3543
  I
3158
- a5
3544
+ b5
3159
3545
  I
3160
3546
  52
3161
3547
  I
3162
- a2
3548
+ b2
3163
3549
  I
3164
3550
  56
3165
3551
  x
3166
- 62
3167
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
3552
+ 60
3553
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
3168
3554
  p
3169
3555
  1
3170
3556
  x
@@ -3182,18 +3568,20 @@ s
3182
3568
  $
3183
3569
  x
3184
3570
  4
3571
+ name
3572
+ x
3573
+ 4
3185
3574
  to_s
3186
3575
  s
3187
3576
  22
3188
3577
  -sprites: sprite-map("
3578
+ x
3579
+ 3
3580
+ uri
3189
3581
  s
3190
- 16
3582
+ 15
3191
3583
  ",
3192
- $layout: $
3193
- s
3194
- 23
3195
- -layout,
3196
- $cleanup: $
3584
+ $cleanup: $
3197
3585
  s
3198
3586
  11
3199
3587
  -clean-up,
@@ -3214,108 +3602,84 @@ x
3214
3602
  18
3215
3603
  generate_overrides
3216
3604
  i
3217
- 99
3605
+ 75
3218
3606
  57
3219
3607
  19
3220
3608
  0
3221
3609
  15
3222
3610
  7
3223
3611
  0
3224
- 21
3225
- 1
3226
- 1
3227
- 47
3228
- 101
3229
- 1
3230
- 7
3231
- 2
3232
3612
  20
3233
3613
  0
3234
3614
  47
3235
3615
  101
3236
3616
  1
3237
3617
  7
3618
+ 2
3619
+ 5
3620
+ 48
3238
3621
  3
3239
- 21
3240
- 1
3241
- 1
3242
3622
  47
3243
3623
  101
3244
3624
  1
3245
3625
  7
3246
- 2
3626
+ 4
3247
3627
  20
3248
3628
  0
3249
3629
  47
3250
3630
  101
3251
3631
  1
3252
3632
  7
3253
- 4
3254
- 21
3255
- 1
3256
- 1
3257
- 47
3258
- 101
3259
- 1
3260
- 7
3261
- 2
3633
+ 5
3262
3634
  20
3263
3635
  0
3264
3636
  47
3265
3637
  101
3266
3638
  1
3267
3639
  7
3640
+ 6
3268
3641
  5
3269
- 21
3270
- 1
3271
- 1
3642
+ 48
3643
+ 3
3272
3644
  47
3273
3645
  101
3274
3646
  1
3275
3647
  7
3276
- 2
3648
+ 4
3277
3649
  20
3278
3650
  0
3279
3651
  47
3280
3652
  101
3281
3653
  1
3282
3654
  7
3283
- 6
3284
- 21
3285
- 1
3286
- 1
3287
- 47
3288
- 101
3289
- 1
3290
3655
  7
3291
- 2
3292
3656
  20
3293
3657
  0
3294
3658
  47
3295
3659
  101
3296
3660
  1
3297
3661
  7
3298
- 7
3299
- 21
3300
- 1
3301
- 1
3662
+ 8
3663
+ 5
3664
+ 48
3665
+ 3
3302
3666
  47
3303
3667
  101
3304
3668
  1
3305
3669
  7
3306
- 2
3670
+ 4
3307
3671
  20
3308
3672
  0
3309
3673
  47
3310
3674
  101
3311
3675
  1
3312
3676
  7
3313
- 8
3677
+ 9
3314
3678
  63
3315
- 25
3679
+ 19
3316
3680
  11
3317
3681
  I
3318
- 1b
3682
+ 15
3319
3683
  I
3320
3684
  1
3321
3685
  I
@@ -3324,7 +3688,7 @@ I
3324
3688
  1
3325
3689
  n
3326
3690
  p
3327
- 9
3691
+ 10
3328
3692
  s
3329
3693
  3
3330
3694
  $
@@ -3332,11 +3696,14 @@ x
3332
3696
  4
3333
3697
  to_s
3334
3698
  s
3335
- 1
3336
- -
3337
- s
3338
3699
  12
3339
3700
  -position: $
3701
+ x
3702
+ 4
3703
+ name
3704
+ s
3705
+ 1
3706
+ -
3340
3707
  s
3341
3708
  14
3342
3709
  -position,
@@ -3359,24 +3726,24 @@ p
3359
3726
  I
3360
3727
  0
3361
3728
  I
3362
- aa
3729
+ ba
3363
3730
  I
3364
3731
  4
3365
3732
  I
3366
- ab
3733
+ bb
3367
3734
  I
3368
- 24
3735
+ 1c
3369
3736
  I
3370
- ac
3737
+ bc
3371
3738
  I
3372
- 42
3739
+ 32
3373
3740
  I
3374
- ad
3741
+ bd
3375
3742
  I
3376
- 63
3743
+ 4b
3377
3744
  x
3378
- 62
3379
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
3745
+ 60
3746
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
3380
3747
  p
3381
3748
  1
3382
3749
  x
@@ -3390,153 +3757,156 @@ s
3390
3757
  2
3391
3758
  );
3392
3759
  p
3393
- 21
3760
+ 19
3394
3761
  I
3395
3762
  -1
3396
3763
  I
3397
- 9b
3764
+ ac
3398
3765
  I
3399
3766
  0
3400
3767
  I
3401
- 9c
3402
- I
3403
- a
3404
- I
3405
- 9d
3768
+ ad
3406
3769
  I
3407
- 10
3770
+ 6
3408
3771
  I
3409
- a1
3772
+ b1
3410
3773
  I
3411
- 1b
3774
+ 12
3412
3775
  I
3413
- a9
3776
+ b9
3414
3777
  I
3415
- 42
3778
+ 35
3416
3779
  I
3417
- ae
3780
+ be
3418
3781
  I
3419
- 44
3782
+ 37
3420
3783
  I
3421
- aa
3784
+ ba
3422
3785
  I
3423
- 4b
3786
+ 3f
3424
3787
  I
3425
- ae
3788
+ be
3426
3789
  I
3427
- 4e
3790
+ 42
3428
3791
  I
3429
- aa
3792
+ ba
3430
3793
  I
3431
- 56
3794
+ 4a
3432
3795
  I
3433
- af
3796
+ bf
3434
3797
  I
3435
- 60
3798
+ 54
3436
3799
  x
3437
- 62
3438
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
3800
+ 60
3801
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
3439
3802
  p
3440
- 4
3441
- x
3442
- 3
3443
- uri
3444
- x
3445
- 4
3446
- name
3447
- x
3448
- 7
3449
- sprites
3803
+ 1
3450
3804
  x
3451
3805
  7
3452
3806
  content
3453
3807
  p
3454
- 41
3808
+ 49
3455
3809
  I
3456
3810
  2
3457
3811
  I
3458
3812
  3
3459
3813
  I
3460
- 22
3814
+ c
3461
3815
  I
3462
3816
  4
3463
3817
  I
3464
- 3b
3818
+ 2c
3465
3819
  I
3466
3820
  5
3467
3821
  I
3468
- 47
3822
+ 45
3823
+ I
3824
+ 6
3825
+ I
3826
+ 51
3469
3827
  I
3470
3828
  8
3471
3829
  I
3472
- 52
3830
+ 5c
3473
3831
  I
3474
3832
  e
3475
3833
  I
3476
- 60
3834
+ 6a
3477
3835
  I
3478
3836
  15
3479
3837
  I
3480
- 6e
3481
- I
3482
- 19
3483
- I
3484
- 7c
3838
+ 78
3485
3839
  I
3486
- 1d
3840
+ 1c
3487
3841
  I
3488
- 8a
3842
+ 86
3489
3843
  I
3490
3844
  21
3491
3845
  I
3492
- 98
3846
+ 94
3493
3847
  I
3494
3848
  25
3495
3849
  I
3496
- a6
3850
+ a2
3497
3851
  I
3498
- 2b
3852
+ 29
3499
3853
  I
3500
- b4
3854
+ b0
3501
3855
  I
3502
- 2f
3856
+ 2d
3503
3857
  I
3504
- bf
3858
+ be
3505
3859
  I
3506
- 38
3860
+ 34
3507
3861
  I
3508
- ca
3862
+ cc
3509
3863
  I
3510
- 3e
3864
+ 39
3511
3865
  I
3512
- d5
3866
+ d7
3513
3867
  I
3514
- 44
3868
+ 42
3515
3869
  I
3516
- e0
3870
+ e5
3517
3871
  I
3518
- 4d
3872
+ 48
3519
3873
  I
3520
- eb
3874
+ f3
3521
3875
  I
3522
- 58
3876
+ 4e
3523
3877
  I
3524
- f6
3878
+ 101
3879
+ I
3880
+ 53
3881
+ I
3882
+ 10f
3525
3883
  I
3526
3884
  5d
3527
3885
  I
3528
- 101
3886
+ 11d
3529
3887
  I
3530
- 63
3888
+ 66
3531
3889
  I
3532
- 10c
3890
+ 12b
3533
3891
  I
3534
- 9b
3892
+ 6b
3893
+ I
3894
+ 139
3895
+ I
3896
+ 70
3897
+ I
3898
+ 147
3899
+ I
3900
+ 75
3901
+ I
3902
+ 155
3535
3903
  I
3536
- 117
3904
+ ac
3905
+ I
3906
+ 163
3537
3907
  x
3538
- 62
3539
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
3908
+ 60
3909
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
3540
3910
  p
3541
3911
  0
3542
3912
  x
@@ -3551,8 +3921,8 @@ I
3551
3921
  I
3552
3922
  23
3553
3923
  x
3554
- 62
3555
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
3924
+ 60
3925
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
3556
3926
  p
3557
3927
  0
3558
3928
  x
@@ -3567,7 +3937,7 @@ I
3567
3937
  I
3568
3938
  1c
3569
3939
  x
3570
- 62
3571
- /Users/crispee/Projects/compass/lib/compass/sprite_importer.rb
3940
+ 60
3941
+ /Users/chris/Projects/compass/lib/compass/sprite_importer.rb
3572
3942
  p
3573
3943
  0