-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the asmjs build using the new module system
- Loading branch information
Showing
15 changed files
with
78 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Karma configuration | ||
|
||
(function () { | ||
'use strict'; | ||
|
||
module.exports = function (config) { | ||
var getSharedConfig = require('./karma.shared.js'); | ||
var sharedConfig = getSharedConfig(config); | ||
|
||
sharedConfig.files = [ | ||
...sharedConfig.filesPolyfills, | ||
...sharedConfig.filesInfrastructure, | ||
'dist/asmjs-unknown-emscripten/release/vireo.min.js', | ||
...sharedConfig.filesSource, | ||
...sharedConfig.filesFixtures, | ||
...sharedConfig.filesSpecs | ||
]; | ||
|
||
config.set(sharedConfig); | ||
}; | ||
}()); |
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
10 changes: 10 additions & 0 deletions
10
source/core/vireo.loader.asmjs-unknown-emscripten.debug.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,10 @@ | ||
|
||
import createVireoCore from '../../dist/asmjs-unknown-emscripten/debug/vireo.core.js'; | ||
import createInstanceUnbound from './vireo.loader.shared.js'; | ||
import staticHelpers from './vireo.loader.staticHelpers.js'; | ||
|
||
const createInstance = createInstanceUnbound.bind(undefined, createVireoCore); | ||
export default { | ||
createInstance, | ||
staticHelpers | ||
}; |
10 changes: 10 additions & 0 deletions
10
source/core/vireo.loader.asmjs-unknown-emscripten.profile.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,10 @@ | ||
|
||
import createVireoCore from '../../dist/asmjs-unknown-emscripten/profile/vireo.core.js'; | ||
import createInstanceUnbound from './vireo.loader.shared.js'; | ||
import staticHelpers from './vireo.loader.staticHelpers.js'; | ||
|
||
const createInstance = createInstanceUnbound.bind(undefined, createVireoCore); | ||
export default { | ||
createInstance, | ||
staticHelpers | ||
}; |
10 changes: 10 additions & 0 deletions
10
source/core/vireo.loader.asmjs-unknown-emscripten.release.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,10 @@ | ||
|
||
import createVireoCore from '../../dist/asmjs-unknown-emscripten/release/vireo.core.js'; | ||
import createInstanceUnbound from './vireo.loader.shared.js'; | ||
import staticHelpers from './vireo.loader.staticHelpers.js'; | ||
|
||
const createInstance = createInstanceUnbound.bind(undefined, createVireoCore); | ||
export default { | ||
createInstance, | ||
staticHelpers | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.