back to .js extension

This commit is contained in:
Kevin Jahns
2018-11-27 14:59:12 +01:00
parent 9bd199a6e7
commit 3ddff186c2
125 changed files with 1015 additions and 845 deletions

View File

@@ -4,8 +4,8 @@
/* eslint-env browser */
import * as Y from '../../index.mjs'
export * from '../../index.mjs'
import * as Y from '../../index.js'
export * from '../../index.js'
const messageSync = 0
const messageAwareness = 1

View File

@@ -1,10 +1,10 @@
/**
* @module provider/websocket
* @module provider/websocket/server
*/
import * as Y from '../../index.mjs'
import WebSocket from 'ws'
import http from 'http'
const Y = require('../../build/yjs.js')
const WebSocket = require('ws')
const http = require('http')
const port = process.env.PORT || 1234