Skip to content

Releases: byteface/domonic

installer

05 Aug 19:04
Compare
Choose a tag to compare

python3 -m domonic --install

then you can do...

project mycoolproj

and

domonic -h

the docs will update with instructions...

https://domonic.readthedocs.io/

iife

05 Aug 14:07
Compare
Choose a tag to compare

need to focus on more assertions and unit tests around dom and parser.

test names were simplified

called

29 Jul 23:04
Compare
Choose a tag to compare

I'm naming this release after last nights flash of inspiration. the 'called' decorator. That baby should get it's own repo. lol.

anyways. copilot is a game changer right?... what now? We can make 20 dunders in 5 minutes.

we can create vec6,7,8!!!! infinte dimension vectors in 10 minutes. Are single module codebases useful when copilot can shit out 10 methods a second? We're already overwhelmed and behind on unit tests as it is. But now this thing is suggestng 10 million other functions.

I found it was great a creating dunders so have started to add all the dunders to the shapes in geom. This creates amazing affects where you can join shapes together etc.

Beyond that the port of d3 is happening in the background mainly to drive the development of the js class and the dom nodes etc. It's going ok but hard and it's not cos i'm avoiding the parser . lol. But that stuff is undocumented still as not for use realy. As I say it's a dev driver more than a focus.

Enjoy 0.4.0!

I've upgraded all the dev requirements and tested most examples. Seems all fine.

d3

21 Jul 01:20
Compare
Choose a tag to compare
d3

d3 started on path and format. seems to be going ok

svg changed to extend element

js methods updated to be more like js methods

few other fixes

matches

10 Jul 14:50
Compare
Choose a tag to compare

console now has the timer methods i.e
https://developer.mozilla.org/en-US/docs/Web/API/Console/time

matches added
https://developer.mozilla.org/en-US/docs/Web/API/Element/matches

outerHTML added

stubs for NodeList added

cmd

06 Jul 02:25
Compare
Choose a tag to compare
cmd

windows cmd class added.

wmacmillan bug fix

04 Jul 21:25
Compare
Choose a tag to compare

bug fix to a-tag thanks to wmacmillan

decorators

04 Jul 10:54
Compare
Choose a tag to compare

Array.at()
String.replaceAll()

and decorators!

mathml

03 Jul 01:27
Compare
Choose a tag to compare

mathml added.

changed behaviour of Math class to be able to convert strings to numbers.

i.e. Math.abs('-1') will now work

URLSearchParams

01 Jul 21:03
Compare
Choose a tag to compare

URLSearchParams

me and https://6b.eleuther.ai/ knocked this out in an hour after reading...

https://jakearchibald.com/2021/encoding-data-for-post-requests/

probably woulda taken several. Should probs do that FormData one too. looks fun.