fnp
/
ReadingsJQM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first take
[ReadingsJQM.git]
/
js
/
app
/
Config.js
diff --git a/js/app/Config.js
b/js/app/Config.js
new file mode 100644
(file)
index 0000000..
87a99b7
--- /dev/null
+++ b/
js/app/Config.js
@@ -0,0
+1,17
@@
+(function() {
+
+ Readings.Config = (function() {
+
+ function Config(opts) {
+ this.opts = opts;
+ }
+
+ Config.prototype.get = function(name) {
+ return this.opts[name];
+ };
+
+ return Config;
+
+ })();
+
+}).call(this);