From 199a24bad6c932dc3ec6733521fb28073b08bd01 Mon Sep 17 00:00:00 2001 From: Dmitry Shirokov Date: Wed, 7 Aug 2013 12:54:22 +1000 Subject: [PATCH] cleaning up the code --- encoding/iso2022.js | 49 ++++++++++++++++++--------------------------- 1 file changed, 19 insertions(+), 30 deletions(-) diff --git a/encoding/iso2022.js b/encoding/iso2022.js index bc44266..94f79de 100644 --- a/encoding/iso2022.js +++ b/encoding/iso2022.js @@ -8,7 +8,7 @@ var util = require('util'), * of encodings. */ -function ISO_2022() {}; +function ISO_2022() {} ISO_2022.prototype.match = function(det) { @@ -37,39 +37,36 @@ ISO_2022.prototype.match = function(det) { var textLen = det.fInputLen; scanInput: - for (i=0; i