summaryrefslogtreecommitdiff
path: root/app/node_modules/okquery/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-13 17:57:17 -0400
committerJules Laplace <jules@okfoc.us>2015-04-13 17:57:17 -0400
commit34f1ca02bea38e0b7ef185ebf07d3ec6df30f370 (patch)
tree234b767a8fef77a7a29ff8d0f519ba462129cb92 /app/node_modules/okquery/index.js
parent3e255208a9776ad377f3b62d79d982138e89539a (diff)
split up the projects by category, add a schema flag so we can use the same singular template
Diffstat (limited to 'app/node_modules/okquery/index.js')
-rw-r--r--app/node_modules/okquery/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/node_modules/okquery/index.js b/app/node_modules/okquery/index.js
index 9cc8b78..519bc08 100644
--- a/app/node_modules/okquery/index.js
+++ b/app/node_modules/okquery/index.js
@@ -33,6 +33,12 @@ function OKQuery(options) {
enumerable: true
});
+ Object.defineProperty(this, 'as', {
+ value: options.as,
+ writable: false,
+ enumerable: true
+ });
+
this.get = createQuery(resource, query, {
default: options.default
});