nci/static/js/app/resources.js
Vladimir Polyakov 364943bfe0 reflux draft
2015-05-04 02:04:51 +03:00

16 lines
267 B
JavaScript

'use strict';
define([
'socketio', 'dataio'
], function(socketio, dataio) {
var connect = dataio(socketio.connect());
var projects = connect.resource('projects');
var builds = connect.resource('builds');
return {
projects: projects,
builds: builds
}
});