matrix: predeclare '$' variable (#512)

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

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'
)