Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

What about including version in source ? #834

Open
ButuzGOL opened this issue Oct 2, 2014 · 3 comments
Open

What about including version in source ? #834

ButuzGOL opened this issue Oct 2, 2014 · 3 comments

Comments

@ButuzGOL
Copy link
Contributor

ButuzGOL commented Oct 2, 2014

Nice to have this var
Chaplin.VERSION

@paulmillr
Copy link
Contributor

why

@ButuzGOL
Copy link
Contributor Author

ButuzGOL commented Oct 6, 2014

For example it can be useful in log information
We have app and we implemented log there
so at the start of app we do

log('\nApp: %s (%s) \n' +
    'Backbone: %s \n' +
    'Chaplin: %s \n' +
    'jQuery: %s \n' +
    'Lodash: %s',
    applicationConfig.name,
    App.VERSION,
    Backbone.VERSION,
    '1.0.0',
    $.fn.jquery,
    _.VERSION);

@paulmillr
Copy link
Contributor

yea ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants