Revert "Updated application sources"
[apps/web/sample/CallLog.git] / project / js / app.config.js
1 /*global tizen*/
2
3 /**
4  * @class Config
5  */
6 function Config() {
7         'use strict';
8 }
9
10 (function () { // strict mode wrapper
11         'use strict';
12         Config.prototype = {
13
14                 properties: {
15                         'templateDir': 'templates',
16                         'templateExtension': '.tpl'
17                 },
18
19                 /**
20                  * Returns config value
21                  */
22                 get: function (value, defaultValue) {
23
24                         if (this.properties.hasOwnProperty(value)) {
25                                 return this.properties[value];
26                         }
27                         return defaultValue;
28                 }
29         };
30 }());