1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
Jan Steemann 2013-10-07 11:27:46 +02:00
commit 73f99cfa3b
1 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ var Repository,
Repository = function (collection, opts) {
'use strict';
var options = opts || {};
this.options = opts || {};
////////////////////////////////////////////////////////////////////////////////
/// @fn JSF_foxx_repository_collection
@ -87,7 +87,7 @@ Repository = function (collection, opts) {
/// See the documentation of collection.
////////////////////////////////////////////////////////////////////////////////
this.modelPrototype = options.model || require("org/arangodb/foxx/model").Model;
this.modelPrototype = this.options.model || require("org/arangodb/foxx/model").Model;
////////////////////////////////////////////////////////////////////////////////
/// @fn JSF_foxx_repository_prefix
@ -96,7 +96,7 @@ Repository = function (collection, opts) {
/// See the documentation of collection.
////////////////////////////////////////////////////////////////////////////////
this.prefix = options.prefix;
this.prefix = this.options.prefix;
};
_.extend(Repository.prototype, {