This commit is contained in:
Hexagon 2015-12-30 00:38:05 +01:00
parent 8068c81e2e
commit 889e46b291
5 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,7 @@
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.0"
- "4.1"

View File

@ -1,7 +1,10 @@
![cryptalk](/docs/screenshot.png)
![Build](https://travis-ci.org/Hexagon/cryptalk.svg)
[![npm version](https://badge.fury.io/js/cryptalk.svg)](https://badge.fury.io/js/cryptalk)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md)
Latest release is 1.0.0, available at npm using ```npm install telldus```
Cyptalk is a HTML5/Node.js based, client side (E2EE) encrypted instant chat
Features

View File

@ -1,6 +1,6 @@
{
"name" : "cryptalk",
"version" : "1.0.5",
"version" : "1.0.6",
"description" : "Encrypted HTML5/Node.JS instant chat",
"main" : "server.js",
"subdomain": "cryptalk",

View File

@ -1,15 +1,12 @@
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Cryptalk</title>
<link rel="stylesheet" type="text/css" href="css/default.css">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/default.css">
<link rel="icon" type="image/png" href="gfx/icon_32x32.png">
<head profile="http://www.w3.org/2005/10/profile">
<link rel="icon"
type="image/png"
href="gfx/icon_32x32.png">
</head>
<body>

View File

@ -41,8 +41,8 @@ define(['queue','castrato','templates'], function (queue,mediator,templates) {
o.connect(g);
g.gain.value = 0.25;
g.connect(ac.destination);
queue.add_function_delayed(start,function() { o.noteOn(0); });
queue.add_function_delayed(start+duration,function() { o.noteOff(0); });
queue.add_function_delayed(start,function() { o.noteOn && o.noteOn(0) || o.start(0); });
queue.add_function_delayed(start+duration,function() { o.noteOff && o.noteOff(0) || o.stop(0); });
// Iterate, or start playing
i++;