Messages: Use local Knockout instead of their CDN

This commit is contained in:
Ilya Prokopenko 2022-06-01 17:18:29 +03:00
parent 1a436a8575
commit b32ad042d7
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56

View file

@ -59,7 +59,7 @@
</div>
</div>
<script src="https://knockoutjs.com/downloads/knockout-3.5.1.js"></script>
{script "js/node_modules/knockout/build/output/knockout-latest.js"}
<script>
function MessengerViewModel(initialMessages = []) {
window.messages = ko.observableArray(initialMessages);