Marcoil has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/172745

Change subject: Remove unnecessary require of Buffer
......................................................................

Remove unnecessary require of Buffer

JsHint complains about a redefinition as it's a global.

Change-Id: Ideff7486d9484e87824a7c2729731ff4ee7c6d5a
---
M api/ParsoidService.js
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/45/172745/1

diff --git a/api/ParsoidService.js b/api/ParsoidService.js
index 71ba535..7d48ff3 100644
--- a/api/ParsoidService.js
+++ b/api/ParsoidService.js
@@ -11,8 +11,7 @@
        cluster = require('cluster'),
        path = require('path'),
        util = require('util'),
-       uuid = require('node-uuid').v4,
-       Buffer = require('buffer').Buffer;
+       uuid = require('node-uuid').v4;
 
 
 function ParsoidService( parsoidConfig, processLogger ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/172745
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ideff7486d9484e87824a7c2729731ff4ee7c6d5a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Marcoil <marc...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to