From 9547deab2c8c54bd274acb5cdb803475e8105eeb Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Mon, 22 Aug 2011 12:47:32 +0300
Subject: [PATCH] move wsapi_client.js to libs/ where it can be shared by other
 code needing a programmatic client to the browserid WSAPI

---
 {performance/lib => libs}/wsapi_client.js | 0
 performance/lib/include_only.js           | 2 +-
 performance/lib/signup.js                 | 2 +-
 performance/lib/test.js                   | 2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename {performance/lib => libs}/wsapi_client.js (100%)

diff --git a/performance/lib/wsapi_client.js b/libs/wsapi_client.js
similarity index 100%
rename from performance/lib/wsapi_client.js
rename to libs/wsapi_client.js
diff --git a/performance/lib/include_only.js b/performance/lib/include_only.js
index 191f65c2d..5c6e287c2 100644
--- a/performance/lib/include_only.js
+++ b/performance/lib/include_only.js
@@ -41,7 +41,7 @@ var
 http = require('http'),
 https = require('https'),
 url = require('url'),
-client = require('./wsapi_client.js');
+client = require('../../libs/wsapi_client.js');
 
 exports.startFunc = function(cfg, cb) {
   client.get(cfg, '/include.js', {}, undefined, function(r) {
diff --git a/performance/lib/signup.js b/performance/lib/signup.js
index f7297ef23..ea7f084e1 100644
--- a/performance/lib/signup.js
+++ b/performance/lib/signup.js
@@ -35,7 +35,7 @@
  * ***** END LICENSE BLOCK ***** */
 
 const
-wcli = require("./wsapi_client.js"),
+wcli = require("../../libs/wsapi_client.js"),
 userdb = require("./user_db.js");
 
 /* this file is the "signup" activity, which simulates the process of a new user
diff --git a/performance/lib/test.js b/performance/lib/test.js
index 209780e53..ec454f2ed 100644
--- a/performance/lib/test.js
+++ b/performance/lib/test.js
@@ -1,5 +1,5 @@
 const
-wcli = require("./wsapi_client.js"),
+wcli = require("../../libs/wsapi_client.js"),
 userdb = require("./user_db.js");
 
 // lets create a user!
-- 
GitLab