1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/public/js/stores/EventStore.js
2014-11-13 15:14:41 +01:00

17 lines
295 B
JavaScript

var reqwest = require('reqwest');
TYPE = 'json';
CONTENT_TYPE = 'application/json';
var EventStore = {
getEvents: function () {
return reqwest({
url: 'events',
method: 'get',
type: TYPE
});
}
};
module.exports = EventStore;