Commit graph

45 commits

Author SHA1 Message Date
djmaze
30e9b89d9b notifySubscribers and equalityComparer are not used outside KnockoutJS 2021-12-31 17:10:40 +01:00
djmaze
679d7356e0 More ko.computed to pureComputed 2021-12-31 17:02:32 +01:00
djmaze
ac2238a23f Bugfix: Cannot write a value to a ko.computed unless you specify a 'write' option 2021-12-31 12:28:43 +01:00
djmaze
b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze
dfa448c7cc v2.7.3 2021-10-11 14:39:36 +02:00
djmaze
4a403df168 Cleanup KnockoutJS and use ECMASCRIPT_2018 for its closure compiler 2021-10-01 17:36:21 +02:00
djmaze
bcc3dc51ef Speedup KnockoutJS by simplifying components loader system.
Custom loaders are not used, so it is removed
2021-09-29 12:51:51 +02:00
djmaze
4142526ba6 Cleanup KnockoutJS 2021-09-28 14:40:24 +02:00
djmaze
4c7ce61bc0 Added missing pre/post knockout build files 2021-09-28 14:24:28 +02:00
djmaze
244d4c49c5 Remove unused KnockoutJS afterMove 2021-09-27 12:49:40 +02:00
djmaze
5839bcf62d Remove some unused KnockoutJS features 2021-09-13 16:20:29 +02:00
djmaze
74f74163c6 Bugfix: <!-- ko text: valueAccessor --> failed
https://knockoutjs.com/documentation/text-binding.html#note-3-using-text-without-a-container-element
2021-08-12 12:54:42 +02:00
djmaze
89075b18bf Remove unused KnockoutJS code 2021-08-10 15:16:21 +02:00
djmaze
3a32a09f2a KnockoutJS:
* remove deprecated allBindings as Accessor https://github.com/knockout/knockout/pull/2133
* remove unused event '*Bubble' https://knockoutjs.com/documentation/event-binding.html#note-4-preventing-the-event-from-bubbling
* remove unused 'completeOn' https://knockoutjs.com/documentation/binding-lifecycle-events.html#indicating-that-a-control-flow-binding-completes-asynchronously
2021-08-10 15:00:49 +02:00
djmaze
cbecdd93a0 More Knockout code to ES6 2021-07-29 11:43:47 +02:00
djmaze
c3c1fc2c0e Tiny knockoutjs speedup 2021-04-23 18:16:36 +02:00
djmaze
fac36e828b Cleanup Squire and Knockout with help of Chromium Code Coverage
Bugfix: Squire inlineNodeNames the 'I' tag was missing
Improved: Squire style editing
2021-02-23 22:50:48 +01:00
djmaze
75b7176ada Remove knockout evaluatorFunctionTarget
Drop deprecated knockout throttle extender
Added knockout debounce extender
2021-02-10 11:33:36 +01:00
djmaze
ebe2c0536f Bugfix: compose mail select contacts for cc/bcc failed
Cleanup: Inputosaurus and Knockout
Change: Knockout domData now uses WeakMap
Replaced: Knockout domManipulation with a documentFragment
2021-02-01 14:34:24 +01:00
djmaze
b6f0b634fb Cleanup calls to Knockout observableArray
Improved Knockout observableArray
2021-01-22 12:23:20 +01:00
djmaze
fa5476e486 Added support for 'length' property to Knockout observable 2021-01-22 09:46:04 +01:00
djmaze
bdd68d0d8f improved knockout observableArray with all Array.prototype functions 2020-11-03 15:53:50 +01:00
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