Comment out events listener

This commit is contained in:
Chi Vinh Le
2017-07-21 23:55:15 +07:00
parent 8b582e85f8
commit 92d1fc5759
+11 -5
View File
@@ -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: