Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom scheme for levels tech #9

Open
blond opened this issue Jul 27, 2014 · 0 comments
Open

Custom scheme for levels tech #9

blond opened this issue Jul 27, 2014 · 0 comments

Comments

@blond
Copy link
Member

blond commented Jul 27, 2014

Use scanner function for custom scheme of level:

nodeConfig.addTech([require('enb-bem/techs/levels'), { 
    levels: getLevels(config) 
}]);

function getLevels(config) {
    return [{
        path: 'common.blocks',
        scanner: function () {/*...*/}
    }].map(function (level) { 
        return config.resolvePath(level);
    });
}
@blond blond added this to the 0.1 milestone Jul 27, 2014
@blond blond self-assigned this Jul 27, 2014
@blond blond modified the milestones: 0.1, 0.2 Jul 27, 2014
@blond blond removed their assignment Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants