Deploy 0.8.13

This commit is contained in:
Kevin Jahns 2016-02-04 12:47:05 +01:00
parent f9a9edcc26
commit ddbe19d78e
3 changed files with 5 additions and 8 deletions

View File

@ -2,7 +2,7 @@
<html>
<head>
<style type="text/css" media="screen">
#editor {
#ace {
position: absolute;
top: 0;
right: 0;
@ -13,7 +13,7 @@
</head>
<body>
<div id="editor"></div>
<div id="ace"></div>
<script src="../bower_components/yjs/y.es6"></script>
<script src="../bower_components/ace-builds/src/ace.js"></script>

View File

@ -8,8 +8,6 @@ Y({
connector: {
name: 'websockets-client',
room: 'ace-example'
// debug: true
// url: 'http://127.0.0.1:2345'
},
sourceDir: '/bower_components',
share: {
@ -19,10 +17,9 @@ Y({
window.yAce = y
// bind the textarea to a shared text element
var editor = ace.edit('editor')
editor.setTheme('ace/theme/monokai')
var editor = ace.edit('ace')
editor.setTheme('ace/theme/chrome')
editor.getSession().setMode('ace/mode/javascript')
y.share.ace.bindAce(editor)
// thats it..
})

View File

@ -1,6 +1,6 @@
{
"name": "yjs",
"version": "0.8.13",
"version": "0.8.14",
"homepage": "y-js.org",
"authors": [
"Kevin Jahns <kevin.jahns@rwth-aachen.de>"