-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
208 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-US"> | ||
<head> | ||
<script crossorigin="anonymous" src="https://unpkg.com/core-js@2/client/core.min.js"></script> | ||
<script crossorigin="anonymous" src="https://unpkg.com/@babel/standalone@7/babel.min.js"></script> | ||
<script crossorigin="anonymous" src="https://unpkg.com/regenerator-runtime/runtime.js"></script> | ||
<script crossorigin="anonymous" src="https://unpkg.com/[email protected]/umd/react.development.js"></script> | ||
|
@@ -18,7 +19,7 @@ | |
<script | ||
type="text/babel" | ||
data-plugins="@babel/plugin-proposal-async-generator-functions" | ||
data-presets="es2015,stage-3" | ||
data-presets="env,stage-3" | ||
> | ||
const { | ||
conditions, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
packages/testharness/pre/external/@babel/plugin-proposal-async-generator-functions/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import BabelPluginProposalAsyncGeneratorFunctions from '@babel/plugin-proposal-async-generator-functions'; | ||
|
||
export default BabelPluginProposalAsyncGeneratorFunctions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { EventIterator } from 'event-iterator'; | ||
|
||
export { EventIterator } |
19 changes: 19 additions & 0 deletions
19
...ternal/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/AudioSourceEvents.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { | ||
AudioSourceErrorEvent, | ||
AudioSourceInitializingEvent, | ||
AudioSourceOffEvent, | ||
AudioSourceReadyEvent, | ||
AudioStreamNodeAttachedEvent, | ||
AudioStreamNodeAttachingEvent, | ||
AudioStreamNodeDetachedEvent | ||
} from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/AudioSourceEvents'; | ||
|
||
export { | ||
AudioSourceErrorEvent, | ||
AudioSourceInitializingEvent, | ||
AudioSourceOffEvent, | ||
AudioSourceReadyEvent, | ||
AudioStreamNodeAttachedEvent, | ||
AudioStreamNodeAttachingEvent, | ||
AudioStreamNodeDetachedEvent | ||
}; |
3 changes: 3 additions & 0 deletions
3
...pre/external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/EventSource.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { EventSource } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/EventSource'; | ||
|
||
export { EventSource }; |
3 changes: 3 additions & 0 deletions
3
...ness/pre/external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Events.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { Events } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Events'; | ||
|
||
export { Events }; |
3 changes: 3 additions & 0 deletions
3
...arness/pre/external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Guid.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { createNoDashGuid } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Guid'; | ||
|
||
export { createNoDashGuid }; |
3 changes: 3 additions & 0 deletions
3
...ess/pre/external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Promise.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { PromiseHelper } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Promise'; | ||
|
||
export { PromiseHelper }; |
3 changes: 3 additions & 0 deletions
3
...ness/pre/external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Stream.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { Stream } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Stream'; | ||
|
||
export { Stream }; |
3 changes: 3 additions & 0 deletions
3
packages/testharness/pre/external/microsoft-cognitiveservices-speech-sdk/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { AudioStreamFormat } from 'microsoft-cognitiveservices-speech-sdk'; | ||
|
||
export { AudioStreamFormat }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
const { join } = require('path'); | ||
|
||
module.exports = { | ||
devtool: 'source-map', | ||
entry: { | ||
'external/@babel/plugin-proposal-async-generator-functions/index': join( | ||
__dirname, | ||
'./external/@babel/plugin-proposal-async-generator-functions/index.js' | ||
), | ||
'external/event-iterator/index': join(__dirname, './external/event-iterator/index.js'), | ||
'external/microsoft-cognitiveservices-speech-sdk/index': join( | ||
__dirname, | ||
'./external/microsoft-cognitiveservices-speech-sdk/index.js' | ||
), | ||
'external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/AudioSourceEvents': join( | ||
__dirname, | ||
'./external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/AudioSourceEvents.js' | ||
), | ||
'external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Events': join( | ||
__dirname, | ||
'./external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Events.js' | ||
), | ||
'external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/EventSource': join( | ||
__dirname, | ||
'./external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/EventSource.js' | ||
), | ||
'external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Guid': join( | ||
__dirname, | ||
'./external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Guid.js' | ||
), | ||
'external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Promise': join( | ||
__dirname, | ||
'./external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Promise.js' | ||
), | ||
'external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Stream': join( | ||
__dirname, | ||
'./external/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Stream.js' | ||
) | ||
}, | ||
mode: 'development', | ||
module: { | ||
rules: [ | ||
{ | ||
exclude: [], | ||
test: /\.js$/, | ||
use: { | ||
loader: 'babel-loader', | ||
options: { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
forceAllTransforms: true, | ||
modules: 'commonjs' | ||
} | ||
] | ||
] | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
// @babel/plugin-proposal-async-generator-functions is causing a false error because @babel/core import "fs" without the need to use it. | ||
// We are emptying out "fs" to ignore the error. | ||
node: { fs: 'empty' }, | ||
output: { | ||
libraryTarget: 'commonjs2', | ||
path: join(__dirname, '../lib') | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.