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:
Martin Probst
2015-06-03 13:42:57 -07:00
parent f74d7727ca
commit f999d5a156
56 changed files with 494 additions and 525 deletions
+3 -4
View File
@@ -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);
}