mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Comment out events listener
This commit is contained in:
+11
-5
@@ -30,11 +30,17 @@
|
||||
asset_url: '<%= asset_url ? asset_url : '' %>',
|
||||
asset_id: '<%= asset_id ? asset_id : '' %>',
|
||||
auth_token: '',
|
||||
events: function(events) {
|
||||
events.onAny(function(eventName, data) {
|
||||
console.log(eventName, data);
|
||||
});
|
||||
},
|
||||
/**
|
||||
* You can listen to events using the example below.
|
||||
* The argument passed is the event emitter from
|
||||
* https://github.com/asyncly/EventEmitter2
|
||||
*
|
||||
* events: function(events) {
|
||||
* events.onAny(function(eventName, data) {
|
||||
* console.log(eventName, data);
|
||||
* });
|
||||
* },
|
||||
*/
|
||||
plugin_config: {
|
||||
/**
|
||||
* You can disable rendering slot components of a plugin by doing:
|
||||
|
||||
Reference in New Issue
Block a user