dartfmt
diff --git a/lib/dom_model.dart b/lib/dom_model.dart
index f395974..a42d73b 100644
--- a/lib/dom_model.dart
+++ b/lib/dom_model.dart
@@ -45,28 +45,36 @@
WipDomModel(this._dom) {
onAttributeModified =
new StreamTransformer.fromHandlers(handleData: _onAttributeModified)
- .bind(_dom.onAttributeModified)..listen(_logEvent);
+ .bind(_dom.onAttributeModified)
+ ..listen(_logEvent);
onAttributeRemoved =
new StreamTransformer.fromHandlers(handleData: _onAttributeRemoved)
- .bind(_dom.onAttributeRemoved)..listen(_logEvent);
+ .bind(_dom.onAttributeRemoved)
+ ..listen(_logEvent);
onCharacterDataModified =
new StreamTransformer.fromHandlers(handleData: _onCharacterDataModified)
- .bind(_dom.onCharacterDataModified)..listen(_logEvent);
+ .bind(_dom.onCharacterDataModified)
+ ..listen(_logEvent);
onChildNodeCountUpdated =
new StreamTransformer.fromHandlers(handleData: _onChildNodeCountUpdated)
- .bind(_dom.onChildNodeCountUpdated)..listen(_logEvent);
+ .bind(_dom.onChildNodeCountUpdated)
+ ..listen(_logEvent);
onChildNodeInserted =
new StreamTransformer.fromHandlers(handleData: _onChildNodeInserted)
- .bind(_dom.onChildNodeInserted)..listen(_logEvent);
+ .bind(_dom.onChildNodeInserted)
+ ..listen(_logEvent);
onChildNodeRemoved =
new StreamTransformer.fromHandlers(handleData: _onChildNodeRemoved)
- .bind(_dom.onChildNodeRemoved)..listen(_logEvent);
+ .bind(_dom.onChildNodeRemoved)
+ ..listen(_logEvent);
onDocumentUpdated =
new StreamTransformer.fromHandlers(handleData: _onDocumentUpdated)
- .bind(_dom.onDocumentUpdated)..listen(_logEvent);
+ .bind(_dom.onDocumentUpdated)
+ ..listen(_logEvent);
onSetChildNodes =
new StreamTransformer.fromHandlers(handleData: _onSetChildNodes)
- .bind(_dom.onSetChildNodes)..listen(_logEvent);
+ .bind(_dom.onSetChildNodes)
+ ..listen(_logEvent);
}
_logEvent(WipEvent event) {
diff --git a/lib/src/dom.dart b/lib/src/dom.dart
index 0486ada..cf49f78 100644
--- a/lib/src/dom.dart
+++ b/lib/src/dom.dart
@@ -18,8 +18,8 @@
new Node((await _sendCommand('DOM.getDocument')).result['root']);
Future<String> getOuterHtml(int nodeId) async =>
- (await _sendCommand('DOM.getOuterHTML', {'nodeId': nodeId})).result[
- 'root'];
+ (await _sendCommand('DOM.getOuterHTML', {'nodeId': nodeId}))
+ .result['root'];
Future hideHighlight() => _sendCommand('DOM.hideHighlight');