biojs / biojs3

Draft of BioJS 3: Web components
BSD 3-Clause "New" or "Revised" License
18 stars 2 forks source link

Should we enforce a style-guide on the elements? #8

Closed wilzbach closed 9 years ago

wilzbach commented 9 years ago

Let's collect some arguments whether we should enforce a style guide like the Polymer one onto our elements.

/**
 * Applies awesomeness to `element`.
 *
 * @param {HTMLElement} element The element to be made awesome.
 * @param {number} level The numeric level of awesomeness. A value
 *     between `1` and `11`.
 * @param {Array<HTMLElements>=} refs Optional referenced elements
 *     that become awesome by proxy.
 * @return {number} The cumulative level of awesomeness.
 */

Here is an initial list of arguments - please add your opinions!

Pro:

Contra:

wilzbach commented 9 years ago

closed in favor of #9.