cloudcms-server 3.2.331 → 3.2.333

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -355,8 +355,8 @@ exports = module.exports = function()
355
355
 
356
356
  }(host, rootStore, logMethod);
357
357
 
358
- enqueueLoadVirtualConfig(workFn, function(err) {
359
- callback(err);
358
+ enqueueLoadVirtualConfig(workFn, function(err, gitanaJson, doesNotExist) {
359
+ callback(err, gitanaJson, doesNotExist);
360
360
  });
361
361
  };
362
362
 
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "cloudcms-server",
8
8
  "description": "Cloud CMS Application Server Module",
9
- "version": "3.2.331",
9
+ "version": "3.2.333",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git://github.com/gitana/cloudcms-server.git"
package/util/workqueue.js CHANGED
@@ -50,7 +50,7 @@ module.exports = function(maxSize)
50
50
 
51
51
  console.log("[WORKQUEUE - queue: " + pendingWorkQueue.length + ", actives: " + activeCount + "] start work");
52
52
 
53
- workFn(function(err) {
53
+ workFn(function(err, obj1, obj2) {
54
54
 
55
55
  // decrement active count
56
56
  activeCount--;
@@ -61,7 +61,7 @@ module.exports = function(maxSize)
61
61
  if (callbackFn) {
62
62
  console.log("[WORKQUEUE - queue: " + pendingWorkQueue.length + ", actives: " + activeCount + "] fire work callback");
63
63
  window.setTimeout(function() {
64
- callbackFn(err);
64
+ callbackFn(err, obj1, obj2);
65
65
  });
66
66
  }
67
67