(path, callback)
| 164 | |
| 165 | //set update binding |
| 166 | bind(path, callback){ |
| 167 | if(!this.bindings[path]){ |
| 168 | this.bindings[path] = []; |
| 169 | } |
| 170 | |
| 171 | this.bindings[path].push(callback); |
| 172 | |
| 173 | callback(this.getText(path), this.lang); |
| 174 | } |
| 175 | |
| 176 | //iterate through bindings and trigger updates |
| 177 | _executeBindings(){ |
no test coverage detected