Sha256: 4adc9683307387ee6874909d5830e18cfc7b8ca4346657a57ceaf544794bbdc8

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 Bytes

Contents

(function (exports) {

    var device_model_simulation = {

        filedetected: ""

    };

    function pad(num, size) {
        var s = num + "";
        while (s.length < size) s = "0" + s;
        return s;
    }




    exports.init = function (eventbus) {


        eventbus.emit("serial.simulation");
        eventbus.emit("serial.portopened");

        if (typeof String.prototype.startsWith != 'function') {
            String.prototype.startsWith = function (str) {
                return this.indexOf(str) == 0;
            };
        }

    };

})(typeof exports == 'undefined' ? this['simulator'] = {} : exports);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dial_a_device_node-0.0.154 app/assets/javascripts/dial_a_device_node/devices/legacy_vnc_SIM.js
dial_a_device_node-0.0.153 app/assets/javascripts/dial_a_device_node/devices/legacy_vnc_SIM.js