vendor/plugins/haml/lib/sass/repl.rb in radiantcms-couchrest_model-0.1.3 vs vendor/plugins/haml/lib/sass/repl.rb in radiantcms-couchrest_model-0.1.4
- old
+ new
@@ -33,10 +33,10 @@
def parse_input(environment, text)
case text
when Script::MATCH
name = $1
- guarded = $3 == '||=' || $4
+ guarded = $2 == '||='
val = Script::Parser.parse($3, @line, text.size - $3.size)
unless guarded && environment.var(name)
environment.set_var(name, val.perform(environment))
end