UNPKG

qcobjects-cli

Version:

qcobjects cli command line tool

48 lines • 1.45 kB
/** * QCObjects Framework CLI * ________________ * * Author: Jean Machuca <correojean@gmail.com> * * Cross Browser Javascript Framework for MVC Patterns * QCObjects is licensed under the MIT License * [LICENSE] (https://github.com/QCObjects/qcobjects-cli/blob/main/LICENSE.txt) * * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com> * * Everyone is permitted to copy and distribute verbatim copies of this * license document, but changing it is not allowed. */ /*eslint no-unused-vars: "off"*/ /*eslint no-redeclare: "off"*/ /*eslint no-empty: "off"*/ /*eslint strict: "off"*/ /*eslint no-mixed-operators: "off"*/ /*eslint no-undef: "off"*/ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PipeLog = void 0; const qcobjects_1 = require("qcobjects"); class PipeLog extends qcobjects_1.InheritClass { static pipe(o) { var _o = []; for (var k in o) { if (typeof o[k] !== "undefined" && o[k] !== null && typeof o[k] !== "function") { try { _o.push("" + k + "=" + o[k].toString()); } catch (e) { // error logging, do nothing } } } return _o.join(" "); } } exports.PipeLog = PipeLog; (0, qcobjects_1.Package)("org.qcobjects.common.pipelog", [ PipeLog ]); //# sourceMappingURL=common-pipelog.js.map