chore: move to clang-format 1.0.17.
clang-format 1.0.17 substantially improves formatting for fat arrow functions and array literal detection. It also fixes a number of minor formatting issues.
This commit is contained in:
@@ -181,10 +181,9 @@ class SurveyBuilder {
|
||||
// We are disabling the responseLength control when the question type is checkbox.
|
||||
var typeCtrl: Control = newQuestion.controls['type'];
|
||||
|
||||
ObservableWrapper.subscribe(typeCtrl.valueChanges,
|
||||
(v) => v == 'text' || v == 'textarea' ?
|
||||
newQuestion.include('responseLength') :
|
||||
newQuestion.exclude('responseLength'));
|
||||
ObservableWrapper.subscribe(typeCtrl.valueChanges, (v) => v == 'text' || v == 'textarea' ?
|
||||
newQuestion.include('responseLength') :
|
||||
newQuestion.exclude('responseLength'));
|
||||
|
||||
(<ControlArray>this.form.controls['questions']).push(newQuestion);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user