Using Colorpicker in 5.7 problem. And why the core still uses the old approach?

Permalink
Hi

I found out that the core pages use the old approach

Loader::helper('form/color')->output('background','#000000');


Not the new one:
Core::make('helper/form/color')->output('background','#000000');


which should be followed?

BreakfastStudio
 
JohntheFish replied on at Permalink Reply
JohntheFish
Some parts of the core need updating for things like that.

On 5.7.+, use 'make'.

(on pre 5.7 sites, 'make' does not exist, so you still need to use 'loader helper')
BreakfastStudio replied on at Permalink Reply
BreakfastStudio
Hi John

Thanks for the clarification. I think I should begin contributing to the source code.

Much appreciated.