| Comment | File | Size | Author |
|---|---|---|---|
| #8 | drupal-2043757-8.patch | 5.57 KB | alan d. |
| #5 | drupal-2043757-5.patch | 4.26 KB | dawehner |
| #5 | interdiff.txt | 2.46 KB | dawehner |
| #1 | drupal-2043757-1.patch | 3.07 KB | dawehner |
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | drupal-2043757-8.patch | 5.57 KB | alan d. |
| #5 | drupal-2043757-5.patch | 4.26 KB | dawehner |
| #5 | interdiff.txt | 2.46 KB | dawehner |
| #1 | drupal-2043757-1.patch | 3.07 KB | dawehner |
Comments
Comment #1
dawehnerThere we go.
But it seems impossible to convert the drupal_render call on the longrun, at least it won't be a component.
Comment #2
ParisLiakos commentedComment #3
catchShould we move this to core here or a new patch for that?
Comment #4
dawehnerWhat we could do is to let everything beside the render method resists on components and make this function abstract, so other people can just use it
in there own render system. Drupal than just uses the component and implements the rendering in the core namespace.
Comment #5
dawehnerOOH I just realized that this DiffEngine file is full classes but also that DrupalDiffInline don't seem to be actually used.
Comment #6
alan d. commentedCut n paste verbatim from the Diff 7.x module to Drupal 8.x :)
Comment #7
catchLooks good to me.
Comment #8
alan d. commentedWhat is the point of making DrupalDiffInline abstract when it is not used in core? Wouldn't it be better to remove it completely? I'd assume that the Diff module will be the only module that uses this functionality.
The attached patch does this ;)
Comment #9
catchThat works too. Also opened #2113573: Convert USE_ASSERTS to a class constant.
Comment #10
catchCommitted/pushed to 8.x, thanks!