01:08
kludge` has quit [Disconnected by services]
01:08
kludge` has joined #opal
01:13
Kilobyte|StupidC has joined #opal
01:13
Kilo`byte has quit [*.net *.split]
01:59
<
meh` >
e_dub, transform attribute as actual element attribute?
01:59
<
meh` >
g(transform: "whatever")
01:59
<
meh` >
but you might as well wait I merge the vetta SVG DSL into paggio :)
02:00
<
meh` >
and if you need it, it will be tonight/tomorrow
02:01
<
e_dub >
maybe I have something wrong but I'm using the dagre-d3 lib and they have something like this: <g transform="translate(20,20)"/> . I've not worked with svg before this
02:01
<
e_dub >
and that would be awesome. I'm trying to get opal into our stack here at work
02:02
<
meh` >
e_dub, in the case of the DOM DSL, it would be g(transform: 'translate(20,20)')
02:03
<
meh` >
which is pretty ugly
02:03
<
meh` >
with the SVG DSL
02:03
<
meh` >
it would be g.transform(translate(20, 20))
02:03
<
e_dub >
yeah that's nicer for sure
02:04
<
meh` >
it also has a lot of cool stuff for paths
02:04
<
meh` >
a DSL to generate paths
02:04
<
e_dub >
oh nice. I was gonna wrap some of d3 but may be uneeded then
02:04
<
meh` >
(and will be)
02:05
<
meh` >
(in few months)
02:05
<
meh` >
but the DSL will be merged into paggio this morning, for breakfast
02:05
<
meh` >
and be available to opal-browser through an SVG { } helper
02:05
<
e_dub >
awesome, sweet breakfast
02:12
<
meh` >
e_dub, an opinion
02:13
<
meh` >
do you think it would be better in the SVG DSL to have id and class as explicit calls?
02:13
<
meh` >
as in, g.class(:boss).transform(translate(20, 20))
02:13
<
meh` >
rather than g.boss.transform(translate(20, 20))
02:14
<
meh` >
I think it maps better, since most of SVG is attributes anyway
02:14
<
meh` >
while in HTML it's mostly classes and ids
02:14
<
meh` >
now that I think of it
02:14
<
meh` >
in the current dsl
02:14
<
e_dub >
Yeah that makes sense. I'd document it though, since it breaks from the DOM dsl
02:14
<
meh` >
it can be mapped as g.boss transform: 'translate(20, 20)'
02:15
<
meh` >
e_dub, it would be documented, how common is the use of classes and ids in svg?
02:15
<
meh` >
they are used for cross references
02:16
<
e_dub >
I havent done a lot with svg before, but seems like class and id gets used for styling stuff
03:45
e_dub has quit [Quit: It's a hard knock life]
04:09
e_dub has joined #opal
05:20
brixen has quit [Ping timeout: 246 seconds]
05:24
brixen has joined #opal
06:10
ryanstout has quit [Quit: ryanstout]
06:32
e_dub has quit [Read error: Connection reset by peer]
06:32
e_dub has joined #opal
07:39
ch007m has joined #opal
08:18
elia has joined #opal
09:59
e_dub has quit [Read error: No route to host]
10:16
e_dub has joined #opal
11:54
elia has quit [Quit: Computer has gone to sleep.]
12:12
elia has joined #opal
12:27
ch007m has quit [Read error: Connection reset by peer]
12:27
ch007m has joined #opal
12:41
dimaursu16 has quit [Ping timeout: 252 seconds]
12:55
dimaursu16 has joined #opal
13:53
barry_ has joined #opal
14:01
barry__ has joined #opal
14:03
barry_ has quit [Ping timeout: 240 seconds]
14:07
e_dub has quit [Quit: It's a hard knock life]
14:14
DrShoggoth has joined #opal
14:56
[o__o] has left #opal [#opal]
14:59
boberetezeke has joined #opal
14:59
[o__o] has joined #opal
15:36
e_dub has joined #opal
15:36
boberetezeke has quit [Ping timeout: 252 seconds]
15:37
boberetezeke has joined #opal
16:09
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:19
ch007m has joined #opal
16:35
ryanstout has joined #opal
16:36
barry__ has quit [Remote host closed the connection]
16:40
boberetezeke has quit [Ping timeout: 252 seconds]
16:46
[o__o] has quit [Remote host closed the connection]
16:49
[o__o] has joined #opal
16:51
elia has quit [Ping timeout: 265 seconds]
16:54
boberetezeke has joined #opal
16:59
boberetezeke has quit [Ping timeout: 252 seconds]
17:24
e_dub has quit [Quit: ZZZzzz…]
17:29
boberetezeke has joined #opal
17:30
e_dub has joined #opal
17:35
boberetezeke has quit [Ping timeout: 252 seconds]
17:37
barry_ has joined #opal
17:41
barry_ has quit [Ping timeout: 246 seconds]
17:51
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:55
ch007m has joined #opal
17:58
boberetezeke has joined #opal
18:13
barry_ has joined #opal
18:16
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:00
barry_ has quit [Remote host closed the connection]
19:03
elia has joined #opal
19:07
barry_ has joined #opal
19:30
barry_ has quit [Remote host closed the connection]
19:31
barry_ has joined #opal
19:31
barry_ has quit [Remote host closed the connection]
19:32
barry_ has joined #opal
19:35
elia has quit [Quit: Computer has gone to sleep.]
19:50
ryanstout has quit [Quit: ryanstout]
19:51
ryanstout has joined #opal
20:01
boberetezeke has quit [Ping timeout: 252 seconds]
20:22
elia has joined #opal
20:26
boberetezeke has joined #opal
21:10
boberetezeke has quit [Ping timeout: 252 seconds]
21:42
ryanstout has quit [Quit: ryanstout]
21:44
ryanstout has joined #opal
21:58
boberetezeke has joined #opal
22:08
elia has quit [Quit: Computer has gone to sleep.]
22:32
DrShoggoth has quit [Quit: Leaving]
22:37
boberetezeke has quit [Ping timeout: 252 seconds]
23:26
dimaursu16 has quit [Ping timeout: 265 seconds]
23:27
dimaursu16 has joined #opal