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

View File

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

View File

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