brandizzi / golem

https://bitbucket.org/brandizzi/golem/wiki/Home
0 stars 0 forks source link

Remove Filler objects #1

Closed brandizzi closed 8 years ago

brandizzi commented 9 years ago

Original report by Adam Victor Brandizzi (Bitbucket: brandizzi, GitHub: brandizzi).


The concept of the filler object is not ideal: it operates on a top-level element. We want to have another approach: let's take the sub-elements to be filled and then operate on them. Something like this:

>>> t = animator.take(tag='table')
>>> c = animator.take(t, tag='td')
>>> animator.fill(c, 'cell content')
brandizzi commented 8 years ago

Original comment by Adam Victor Brandizzi (Bitbucket: brandizzi, GitHub: brandizzi).


Done.