nci/static/js/app/app.js
2015-04-13 01:41:09 +03:00

16 lines
340 B
JavaScript

'use strict';
define([
'react', 'socketio', 'dataio'
], function(
React, socketio, dataio
) {
// console.log(React, socketio, dataio);
var connect = dataio(socketio.connect());
var projects = connect.resource('projects');
projects.sync('read', function(err, projects) {
console.log('>>> err, projects = ', err, projects)
});
});