From 3fba6c50f07d583e054735b0e0765752c806d852 Mon Sep 17 00:00:00 2001 From: Guilherme Cirne Date: Wed, 25 Jun 2014 16:37:30 -0300 Subject: [PATCH] Fix "ReferenceError: loopback is not defined" in registry.memory(). Signed-off-by: Guilherme Cirne --- lib/registry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/registry.js b/lib/registry.js index 1c48e24c..acbb7384 100644 --- a/lib/registry.js +++ b/lib/registry.js @@ -248,7 +248,7 @@ registry.memory = function (name) { if(!memory) { memory = this._memoryDataSources[name] = this.createDataSource({ - connector: loopback.Memory + connector: 'memory' }); }