lib/artisans/sass/settings_processor.rb
#
# Inherits default scss compiling.
# + Removes quates, which were artificially places around settings comments so the processor leaves them.
# "/*setting.setting_name[*/setting_value/*]*/" => /*setting.setting_name[*/setting_value/*]*/
#
Inherits default scss compiling.
+ Removes quates, which were artificially places around settings comments so the processor leaves them.
Inherits default scss compiling . + Removes quates which were artificially places around settings comments so the processor leaves them .
def call(input)
        super.tap do |hash|
          hash[:data] = hash[:data].gsub(/["'](\/\*settings\..+\[.+\]\*\/)["']/, '\1')
          hash[:data] = hash[:data].gsub(/(" (.*?) ")/, '"\2"') 
        end
      end
def call ( input ) super . tap do | hash | hash [ :data ] = hash [ :data ] . gsub ( / ["']( \/ \* settings \. .+ \[ .+ \] \* \/ )["'] / , '\1' ) hash [ :data ] = hash [ :data ] . gsub ( / (" (.*?) ") / , '"\2"' ) end end
Inherits default scss compiling.
Inherits default scss compiling .
# if value has quotes, then some redundant spaces are added. we remove them here
input
<not_specific>