new build system

This commit is contained in:
Kevin Jahns
2015-09-11 18:35:32 +02:00
parent 4bfe484fc2
commit 82b3e50d49
24 changed files with 241 additions and 149 deletions

View File

@@ -1,4 +1,4 @@
/* global getRandom, AbstractConnector, Y, wait */
/* global getRandom, Y, wait */
'use strict'
var globalRoom = {
@@ -23,6 +23,8 @@ var globalRoom = {
}
}
}
Y.utils.globalRoom = globalRoom
function flushOne () {
var bufs = []
for (var i in globalRoom.buffers) {
@@ -45,7 +47,7 @@ function flushOne () {
var userIdCounter = 0
class Test extends AbstractConnector {
class Test extends Y.AbstractConnector {
constructor (y, options) {
if (options === undefined) {
throw new Error('Options must not be undefined!')

View File

@@ -1,6 +1,7 @@
/* global AbstractConnector, Y */
/* global Y */
'use strict'
class WebRTC extends AbstractConnector {
class WebRTC extends Y.AbstractConnector {
constructor (y, options) {
if (options === undefined) {
throw new Error('Options must not be undefined!')