Commit graph

23 commits

Author SHA1 Message Date
djmaze
1d57a62ddd Dropped more unused knockoutjs code 2020-10-29 11:15:04 +01:00
djmaze
5a0215987a knockoutjs replaced slow obj.__proto__ with Object.setPrototypeOf() 2020-10-28 20:19:38 +01:00
djmaze
d49916731f replaced ko.utils.array* with native 2020-10-28 20:17:45 +01:00
djmaze
ff6fb41812 Remove more unused knockout code 2020-10-28 13:58:37 +01:00
djmaze
188a40b196 Basic JSON object properties revival now handled by AbstractModel
This will be better for future use of JSON.stringify() and JSON.parse()
For now the difference between the PHP JSON being PascalCase and the JS object properties being camelCase is handled by AbstractModel
2020-10-20 17:39:00 +02:00
djmaze
36fa52307f Added: knockout.js observable toJSON() 2020-10-20 15:39:14 +02:00
djmaze
1e735bf4a9 Drop unused Knockout functionality
Especially dropped memoization for improved speed.
2020-10-13 14:56:23 +02:00
djmaze
e7975d4f82 Bugfix: Knockout 'with:' used on 1 place 2020-10-13 10:15:50 +02:00
djmaze
c2a5d0fda5 ko hidden: use html5 hidden attribute
ko visible: rollback to use style.display
2020-10-11 11:59:36 +02:00
djmaze
993d4c31cc Update knockout-latest.debug.js 2020-10-09 12:45:55 +02:00
djmaze
92836117ee Bugfix: put back the knockout bindings if/ifnot as they are in use 2020-10-09 12:44:39 +02:00
djmaze
ba7ed497b2 Cleanup JS and better terser compression 2020-10-09 11:58:15 +02:00
djmaze
ac535b1d03 Remove more unused Knockout code 2020-10-09 10:20:22 +02:00
djmaze
07857a06a9 Cleanup knockout.js
- Remove AMD
- Manually removed closure-compiler polyfill for Object.entries
2020-10-05 13:46:19 +02:00
djmaze
72ed2b08b2 KnockoutJS to ES2015/ES6
TODO: use the new Proxy for ko.observable
2020-10-04 21:58:13 +02:00
djmaze
cb2048f163 cleanup some code 2020-10-02 12:40:33 +02:00
djmaze
1cd07955a2 drop jQuery support completely from knockoutjs 2020-09-21 16:11:06 +02:00
djmaze
4da5543c27 Remove more IE9 stuff from Knockoutjs 2020-09-19 13:36:05 +02:00
djmaze
118c1613a4 Removed more IE workarounds from knockoutjs 2020-09-17 23:15:16 +02:00
djmaze
0f56c7d28f knockout appendChild => append
and tested closure-compiler 0.2.12 but still broken for es6 mode
2020-09-17 21:34:38 +02:00
djmaze
7713f459ac Replace $().trigger() and document.createEvent() with element.dispatchEvent(new Event()) 2020-09-17 21:18:39 +02:00
djmaze
d06fed09d6 Drop support for old browsers and some jQuery 2020-09-17 16:40:43 +02:00
djmaze
091c4ec811 Clone 3.5.1 from github 2020-09-17 16:27:00 +02:00