mirror of
https://github.com/esiur/iui.git
synced 2026-04-04 06:58:22 +00:00
scope
This commit is contained in:
21
src/Core/BindingList.js
Normal file
21
src/Core/BindingList.js
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
export default class BindingList extends Array {
|
||||
|
||||
constructor(target, scope) {
|
||||
super();
|
||||
this.target = target;
|
||||
this.scope = scope;
|
||||
}
|
||||
|
||||
getArgumentsNames(){
|
||||
if (this.scope == null)
|
||||
return [];
|
||||
|
||||
let rt;
|
||||
for (var i in this.scope.length)
|
||||
rt.push(i);
|
||||
return rt;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user