dart-sdk/tools/dom
Srujan Gaddam a42c072017 Remove unnecessary null check in getPropertyValue
CSSStyleDeclaration.getPropertyValue returns a non-nullable string.
It will also return an empty string if the property is not found. Since
getPropertyValue returns the value of the native getPropertyValue, the
null check should be removed.

Change-Id: I9846553d3f9fcd68cbd15b9c39d2104cab594b7a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136413
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2020-02-20 20:49:26 +00:00
..
docs Fix example statusText 2019-08-13 19:58:12 +00:00
idl/dart Handle optionals in DOM scripts for NNBD 2020-02-10 22:26:35 +00:00
new_scripts Mass format python with yapf 2019-08-05 20:34:31 +00:00
nnbd_src Change indexOf() and lastIndexOf() back to Object. 2020-02-20 09:00:17 +00:00
scripts Remove unnecessary null check in getPropertyValue 2020-02-20 20:49:26 +00:00
src Fix html methods without returns 2020-02-19 20:43:34 +00:00
templates Remove unnecessary null check in getPropertyValue 2020-02-20 20:49:26 +00:00
.gitignore
dom.json Fixed a number of dart:html P1 issues. 2019-01-15 17:21:50 +00:00
dom.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
PRESUBMIT.py Mass format python with yapf 2019-08-05 20:34:31 +00:00