matrix: predeclare '$' variable (#512)

This commit is contained in:
jean-emmanuel 2019-04-13 08:47:42 +02:00
parent 7d22913fd0
commit d9d0655e30
2 changed files with 7 additions and 0 deletions

View file

@ -4,6 +4,7 @@
- bug fixes
- handle network drops correctly (notify immediately and fix reconnection mechanism)
- matrix: regression the `$` variable
## 0.45.3

View file

@ -146,11 +146,17 @@ class Matrix extends _matrix_base {
}
Matrix.overriddenDefaults = [
'type', 'id', 'address', 'preArgs', 'target', 'precision', 'bypass',
'label', 'top', 'left', 'height', 'width'
]
Matrix.parsersContexts.props = {
$: 0
}
Matrix.dynamicProps = Matrix.prototype.constructor.dynamicProps.concat(
'props'
)