Sha256: b2c8acef00059f37ef6f8054dd7adc8d0ffd9f8f5a407b8f2c271d76e27e67ce

Contents?: true

Size: 826 Bytes

Versions: 25

Compression:

Stored size: 826 Bytes

Contents


/////////////////////////// connection ws

//
// function connect(address) {
//
//     websocket = new WebSocket(address);
//
//     websocket.onopen = function (event) {
//         atomeJsToRuby("puts 'Connected to WebSocket'")
//
//     };
//
//     websocket.onmessage = function (event) {
//         // atomeJsToRuby("puts 'object ruby callback : " + event.data + "'")
//     };
//
//     websocket.onclose = function (event) {
//         atomeJsToRuby("puts 'WebSocket closed'")
//     };
//
//     websocket.onerror = function (event) {
//         // to prevent error disturbing the console
//         event.preventDefault();
//         console.log('connection lost!')
//     };
//
// }


// function controller_message(msg) {
//     // let json_msgs = JSON.parse(msg);
//     atomeJsToRuby("A.receptor("+msg+")")
// }

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.5.9 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.5.4 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.5.3 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.5.1 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.4.8 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.4.7 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.4.6 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.4.3 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.4.2 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.3.9 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.3.6 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.3.5 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.3.3 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.3.2 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.3.1 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.3.0 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.1.8 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.1.7 vendor/assets/src/js/atome/atome_helpers/communication.js
atome-0.5.7.1.0 vendor/assets/src/js/atome/atome_helpers/communication.js