Browse Source

Added missing method getEventProperties in Core

flowchartTest
jos 9 years ago
parent
commit
89660a3d31
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      lib/timeline/Core.js

+ 10
- 0
lib/timeline/Core.js View File

@ -396,6 +396,16 @@ Core.prototype.getCustomTime = function(id) {
return customTimes[0].getCustomTime(); return customTimes[0].getCustomTime();
}; };
/**
* Retrieve meta information from an event.
* Should be overridden by classes extending Core
* @param {Event} event
* @return {Object} An object with related information.
*/
Core.prototype.getEventProperties = function (event) {
return { event: event };
};
/** /**
* Add custom vertical bar * Add custom vertical bar
* @param {Date | String | Number} [time] A Date, unix timestamp, or * @param {Date | String | Number} [time] A Date, unix timestamp, or

Loading…
Cancel
Save