Sha256: 6477fbb3a8a1e6465fe8cf97d070910534addee9150c8659d21052f017468198
Contents?: true
Size: 826 Bytes
Versions: 7
Compression:
Stored size: 826 Bytes
Contents
(function(root, factory) { if (typeof define === 'function' && define.amd) { define(['backbone.marionette', 'backbone.radio', 'underscore'], function(Marionette, Radio, _) { return factory(Marionette, Radio, _); }); } else if (typeof exports !== 'undefined') { var Marionette = require('backbone.marionette'); var Radio = require('backbone.radio'); var _ = require('underscore'); module.exports = factory(Marionette, Radio, _); } else { factory(root.Backbone.Marionette, root.Backbone.Radio, root._); } }(this, function(Marionette, Radio, _) { 'use strict'; Marionette.Application.prototype._initChannel = function () { this.channelName = _.result(this, 'channelName') || 'global'; this.channel = _.result(this, 'channel') || Radio.channel(this.channelName); } }));
Version data entries
7 entries across 7 versions & 1 rubygems