#!/usr/bin/env node

/*jslint node: true */
/*global require */

module.exports = function () {
    "use strict";

    var settings = require("./settings");

    var childProcess = require("child_process");

    var nodeGearman = require("node-gearman");

    var gearmanLibrary = require("./library/gearman")(nodeGearman);
    var gearman = gearmanLibrary.setUpGearman(settings.gearman.hostname, settings.gearman.port);

    var manager = require("./library/manager")(childProcess, gearman);
    manager.setUpSyncUserProfileOnPostsFromUserWorker();
};

module.exports();

@@ -40,28 +40,8 @@
 e */
-%0A/*global require */
 %0A%0Amo
@@ -128,26 +128,25 @@
 ttings%22)
-;%0A
+,
 %0A    
-var
+   
  childPr
@@ -177,26 +177,25 @@
 rocess%22)
-;%0A%0A
+,%0A 
     
-var
+  
  nodeGea
@@ -224,26 +224,25 @@
 earman%22)
-;%0A%0A
+,%0A   
     
-var
  gearman
@@ -296,17 +296,17 @@
 man)
-;
+,
 %0A    
-var
+   
  gea
@@ -389,26 +389,25 @@
 an.port)
-;%0A
+,
 %0A    
-var
+   
  manager
@@ -462,16 +462,17 @@
 arman);%0A
+%0A
     mana

fix code style of the search worker.js