Skip to content

Commit

Permalink
Move third party JS code into third_party directory. NFC (emscripten-…
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Jan 10, 2022
1 parent 366fae9 commit 2885620
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parserOptions:
ecmaVersion: 12
ignorePatterns:
- "site/"
- "cache/"
- "third_party/"
- "tests/"
- "src/library*.js"
Expand All @@ -19,7 +20,6 @@ ignorePatterns:
- "src/embind/"
- "src/emrun_postjs.js"
- "src/worker.js"
- "src/wrtcp.js"
- "src/wasm2js.js"
- "src/webGLClient.js"
- "src/webGLWorker.js"
Expand All @@ -33,7 +33,6 @@ ignorePatterns:
- "src/promise_polyfill.js"
- "src/headless.js"
- "src/headlessCanvas.js"
- "src/socket.io.js"
- "src/emscripten-source-map.min.js"
- "src/source_map_support.js"
- "src/Fetch.js"
Expand Down
4 changes: 2 additions & 2 deletions src/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -2378,8 +2378,8 @@ LibraryManager.library = {
// ==========================================================================
#if SOCKET_WEBRTC
$Sockets__deps: ['$setErrNo',
function() { return 'var SocketIO = ' + read('socket.io.js') + ';\n' },
function() { return 'var Peer = ' + read('wrtcp.js') + ';\n' }],
function() { return 'var SocketIO = ' + read('../third_party/socket.io.js') + ';\n' },
function() { return 'var Peer = ' + read('../third_party/wrtcp.js') + ';\n' }],
#else
$Sockets__deps: ['$setErrNo'],
#endif
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 2885620

Please sign in to comment.