Skip to content

Instantly share code, notes, and snippets.

@andevsoftware
Last active February 27, 2016 18:47
Show Gist options
  • Save andevsoftware/5ae974d3d53736664027 to your computer and use it in GitHub Desktop.
Save andevsoftware/5ae974d3d53736664027 to your computer and use it in GitHub Desktop.
Config - load method
var config = new TSCore.Config({
application: {
title: 'Project title',
version: '1.1.0'
}
});
config.load({ application: { title: 'Project title', version: '1.2.0' } });
config.get('application.version');
// 1.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment