Hi

function jquery_colorpicker_theme()
{
  return array
  (
    'colorpicker' => array
    (
      'arguments' => array
      (
        'element' => NULL
      ),
    ),
  );
}

OMG, can you restyle your php-code?

And what about '#' prefix? I offer always work with value format as '#123456'

Comments

jaypan’s picture

OMG, can you restyle your php-code?

No.

And what about '#' prefix? I offer always work with value format as '#123456'

OMG can you re-style your English? There isn't actually a question in there.

jaypan’s picture

Status: Active » Closed (fixed)
joachim’s picture

Title: PHP code style » run module code through Coder review
Version: 6.x-1.0 » 7.x-1.x-dev
Status: Closed (fixed) » Active

This module appears to have a new (co)-maintainer. Perhaps this is worth reopening? The absence of Drupal coding standards does make it rather hard for other developers to read this module's code, and coder module now makes it easy to fix.

plopesc’s picture

Status: Active » Fixed

Hello

I ran the DrupalCS script in the module and there were lots of proposed changes. I applied it. You can view my last commit.

Thanks for your interest.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.