bem / bem-core

BEM Core Library
https://ru.bem.info/technologies/classic/i-bem/
Other
276 stars 95 forks source link

Code style for modules.define #1600

Closed belozer closed 6 years ago

belozer commented 6 years ago

before

modules.define(
    'i-bem-dom',
    [
        'i-bem',
        'i-bem__internal',
        'i-bem-dom__collection',
        'i-bem-dom__events_type_dom',
        'i-bem-dom__events_type_bem',
        'inherit',
        'identify',
        'objects',
        'functions',
        'jquery',
        'dom'
    ],
    function(
        provide,
        bem,
        bemInternal,
        BemDomCollection,
        domEvents,
        bemEvents,
        inherit,
        identify,
        objects,
        functions,
        $,
        dom) {

after

modules.define('i-bem-dom', [
    'i-bem',
    'i-bem__internal',
    'i-bem-dom__collection',
    'i-bem-dom__events_type_dom',
    'i-bem-dom__events_type_bem',
    'inherit',
    'identify',
    'objects',
    'functions',
    'jquery',
    'dom'
], function(provide,
    bem,
    bemInternal,
    BemDomCollection,
    domEvents,
    bemEvents,
    inherit,
    identify,
    objects,
    functions,
    $,
    dom
) {

@veged @tadatuta