separator: '__',
- spin_presets: {},
-
- spin: function(locator, active /*= true */) {
- active = typeof active !== 'undefined' ? active : true;
- try {
- if (active) {
- $(locator).spin(manifold.spin_presets);
- } else {
- $(locator).spin(false);
- }
- } catch (err) { messages.debug("Cannot turn spins on/off " + err); }
- },
-
get_type: function(variable) {
switch(Object.toType(variable)) {
case 'number':
$.each(channels, function(i, channel) {
if (value === undefined) {
if (manifold.publish_result_debug) messages.debug("triggering [no value] on channel="+channel+" and event_type="+event_type);
- $('.plugin').trigger(channel, [event_type]);
+ $('.pubsub').trigger(channel, [event_type]);
} else {
if (manifold.publish_result_debug) messages.debug("triggering [value="+value+"] on channel="+channel+" and event_type="+event_type);
- $('.plugin').trigger(channel, [event_type, value]);
+ $('.pubsub').trigger(channel, [event_type, value]);
}
});
},