Merge pull request #392 from bhollis/minify
Disable inline minification by default, allow it to be turned on with an option
This commit is contained in:
commit
1e271448fa
4 changed files with 28 additions and 12 deletions
|
@ -12,6 +12,14 @@ Given /^"([^\"]*)" feature is "([^\"]*)"$/ do |feature, state|
|
|||
end
|
||||
end
|
||||
|
||||
Given /^"([^\"]*)" feature is "enabled" with "([^\"]*)"$/ do |feature, options_str|
|
||||
@initialize_commands ||= []
|
||||
|
||||
options = eval("{#{options_str}}")
|
||||
|
||||
@initialize_commands << lambda { activate(feature.to_sym, options) }
|
||||
end
|
||||
|
||||
Given /^"([^\"]*)" is set to "([^\"]*)"$/ do |variable, value|
|
||||
@initialize_commands ||= []
|
||||
@initialize_commands << lambda { set(variable.to_sym, value) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue