style(dart/transform): Change quote character for consistency.

Use ' as a quote character in generated output instead of ".
This commit is contained in:
Tim Blasi
2015-03-12 13:18:36 -07:00
parent 30253592ff
commit 95c9eca64c
15 changed files with 41 additions and 43 deletions
@@ -9,19 +9,19 @@ void setupReflection(reflector) {
_visited = true;
reflector
..registerType(MyComponent, {
"factory": () => new MyComponent(),
"parameters": const [],
"annotations": const [
'factory': () => new MyComponent(),
'parameters': const [],
'annotations': const [
const Component(selector: 'soup', services: const [ToolTip])
]
})
..registerType(ToolTip, {
"factory": () => new ToolTip(),
"parameters": const [],
"annotations": const [
'factory': () => new ToolTip(),
'parameters': const [],
'annotations': const [
const Decorator(
selector: '[tool-tip]', bind: const {'text': 'tool-tip'})
]
})
..registerSetters({"text": (ToolTip o, String value) => o.text = value});
..registerSetters({'text': (ToolTip o, String value) => o.text = value});
}