Sha256: d94065382a5ad1d8d3a8ef20f8168ce7f5b864bfae6628eb32f77cc2198e8c4d

Contents?: true

Size: 552 Bytes

Versions: 10

Compression:

Stored size: 552 Bytes

Contents

var NutellaMixin = {

    getChannelsForRid: function(message, rid) {
        var myChannelsId = [];
        var myChannels = [];
        message.forEach(function(f) {
            for (var i in f.items) {
                var item = f.items[i];
                if (item.name === 'iPad1') {
                    myChannelsId = item.channels;
                    break;
                }
            }
        });
        myChannelsId.forEach(function(id) {
            myChannels.push(CHANNELS[id]);
        });
    },

};

module.exports = NutellaMixin;

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nutella_framework-0.6.17 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.16 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.15 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.13 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.12 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.11 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.10 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.9 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.8 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js
nutella_framework-0.6.7 framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js