File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
language : dart
2
2
3
3
dart :
4
+ # We need 2.9.2 to verify the Chrome MemoryInfo workaround: https://github.com/cleandart/react-dart/pull/280
5
+ # TODO remove the workaround as well as this config once SDK lower bound is >=2.9.3
4
6
- 2.9.2
5
7
- stable
6
8
- dev
14
16
before_script :
15
17
- dartanalyzer .
16
18
- |
17
- if [ "$TRAVIS_DART_VERSION" != "dev " ]; then
19
+ if [ "$TRAVIS_DART_VERSION" == "stable " ]; then
18
20
dartfmt --line-length=120 --dry-run --set-exit-if-changed .
19
21
fi
20
22
- pub run dependency_validator -i build_runner,build_test,build_web_compilers
Original file line number Diff line number Diff line change @@ -40,7 +40,11 @@ mixin LifecycleTestHelper on Component {
40
40
'context' : context,
41
41
});
42
42
43
- var lifecycleCallback = props == null ? staticProps == null ? null : staticProps[memberName] : props[memberName];
43
+ var lifecycleCallback = props == null
44
+ ? staticProps == null
45
+ ? null
46
+ : staticProps[memberName]
47
+ : props[memberName];
44
48
if (lifecycleCallback != null ) {
45
49
return Function .apply (
46
50
lifecycleCallback,
You can’t perform that action at this time.
0 commit comments