Sha256: 2db61da4c06b82982dc7f74eda2ba7e524b648af10991acb48e8877115a8616a

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

include('../background.js');

/**
 * @class
 */
uki.background.Multi = uki.newClass({
    init: function() {
        this._bgs = Array.prototype.slice.call(arguments, 0);
    },
    attachTo: function(comp) {
        for (var i=0, $this$_bgs$length = this._bgs.length; i < $this$_bgs$length; i++) {
            this._bgs[i].attachTo(comp);
        };
    },
    detach: function() {
        for (var i=0, $this$_bgs$length = this._bgs.length; i < $this$_bgs$length; i++) {
            this._bgs[i].detach();
        };
    }
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uki-1.1.4 frameworks/uki/src/uki-core/background/multi.js
uki-1.1.3 frameworks/uki/src/uki-core/background/multi.js
uki-1.1.2 frameworks/uki/src/uki-core/background/multi.js