first chunk of interfaces that are valid via dart analyzer
This commit is contained in:

committed by
Tobias Bosch

parent
29c20f7a50
commit
8afa421d75
6
modules/change_detection/pubspec.yaml
Normal file
6
modules/change_detection/pubspec.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
name: change_detection
|
||||
environment:
|
||||
sdk: '>=1.4.0'
|
||||
dependencies:
|
||||
dev_dependencies:
|
||||
unittest: '>=0.10.1 <0.12.0'
|
5
modules/change_detection/src/change_detection.js
Normal file
5
modules/change_detection/src/change_detection.js
Normal file
@ -0,0 +1,5 @@
|
||||
export class ChangeDetection {
|
||||
|
||||
detectChanges():int {}
|
||||
|
||||
}
|
3
modules/change_detection/src/proto_record.js
Normal file
3
modules/change_detection/src/proto_record.js
Normal file
@ -0,0 +1,3 @@
|
||||
export class ProtoRecord {
|
||||
|
||||
}
|
27
modules/change_detection/src/proto_watch_group.js
Normal file
27
modules/change_detection/src/proto_watch_group.js
Normal file
@ -0,0 +1,27 @@
|
||||
export class ProtoWatchGroup {
|
||||
watch(
|
||||
expression:String,
|
||||
context:dynamic,
|
||||
{isCollection})
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@Component(
|
||||
bind: {
|
||||
'title': 'title',
|
||||
'name': 'name'
|
||||
}
|
||||
)
|
||||
class MyComponent implements ChangeListener {
|
||||
String name;
|
||||
String title;
|
||||
|
||||
onChange(List<Record> changes) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
3
modules/change_detection/src/record.js
Normal file
3
modules/change_detection/src/record.js
Normal file
@ -0,0 +1,3 @@
|
||||
export class Record {
|
||||
|
||||
}
|
4
modules/change_detection/src/watch_group.js
Normal file
4
modules/change_detection/src/watch_group.js
Normal file
@ -0,0 +1,4 @@
|
||||
export class WatchGroup {
|
||||
@FIELD('final dispatcher:WatchGroupDispatcher')
|
||||
constructor() {}
|
||||
}
|
4
modules/change_detection/src/watch_group_dispatcher.js
Normal file
4
modules/change_detection/src/watch_group_dispatcher.js
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
export class WatchGroupDispatcher {
|
||||
notify(record:Record, context) {}
|
||||
}
|
Reference in New Issue
Block a user