Я запускаю timeline-view в версии 4.2 nativescrip, чтобы увидеть дерево, но у меня ошибка при просмотре графики в браузере, просто ничего не появляется и в javascript у меня есть следующее:
Uncaught DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at redrawBackground (file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:223:32)
at file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:320:1
times.html:223 Uncaught DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at redrawBackground (file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:223:32)
at file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:274:5
times.html:223 Uncaught DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at redrawBackground (file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:223:32)
at file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:313:9
times.html:223 Uncaught DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at redrawBackground (file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:223:32)
at file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:274:5
15times.html:223 Uncaught DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at redrawBackground (file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:223:32)
at file:///Users/alanneri/Documents/Nativescript/app-mrsinco/times.html:313:9