nci/static/js/app/app.js

16 lines
340 B
JavaScript
Raw Normal View History

2015-04-10 20:17:03 +00:00
'use strict';
2015-04-12 22:41:09 +00:00
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)
});
2015-04-10 20:17:03 +00:00
});