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