qcobjects-cli
Version:
qcobjects cli command line tool
8 lines (7 loc) • 2.41 kB
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/common-pipelog.ts"],
"sourcesContent": ["/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\n\nimport {Package, InheritClass} from \"qcobjects\";\n\nexport class PipeLog extends InheritClass {\n\n static pipe(o:any) {\n var _o = [];\n for (var k in o) {\n if (typeof o[k] !== \"undefined\" &&\n o[k] !== null &&\n typeof o[k] !== \"function\") {\n try {\n _o.push(\"\" + k + \"=\" + o[k].toString());\n } catch (e) {\n // error logging, do nothing\n }\n }\n }\n return _o.join(\" \");\n }\n\n}\n\n\nPackage(\"org.qcobjects.common.pipelog\", [\n PipeLog\n]);"],
"mappings": ";;AAgCA,SAAQ,SAAS,oBAAmB;AAE7B,MAAM,gBAAgB,aAAa;AAAA,EAlC1C,OAkC0C;AAAA;AAAA;AAAA,EAEtC,OAAO,KAAK,GAAO;AACf,QAAI,KAAK,CAAC;AACV,aAAS,KAAK,GAAG;AACb,UAAI,OAAO,EAAE,CAAC,MAAM,eAChB,EAAE,CAAC,MAAM,QACT,OAAO,EAAE,CAAC,MAAM,YAAY;AAC5B,YAAI;AACA,aAAG,KAAK,KAAK,IAAI,MAAM,EAAE,CAAC,EAAE,SAAS,CAAC;AAAA,QAC1C,SAAS,GAAG;AAAA,QAEZ;AAAA,MACJ;AAAA,IACJ;AACA,WAAO,GAAG,KAAK,GAAG;AAAA,EACtB;AAEJ;AAGA,QAAQ,gCAAgC;AAAA,EACpC;AACJ,CAAC;",
"names": []
}