chaplinjs / chaplin

HTML5 application architecture using Backbone.js
http://chaplinjs.org
Other
2.85k stars 232 forks source link

What about including version in source ? #834

Open ButuzGOL opened 10 years ago

ButuzGOL commented 10 years ago

Nice to have this var Chaplin.VERSION

paulmillr commented 10 years ago

why

ButuzGOL commented 10 years ago

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 commented 10 years ago

yea ok