Skip to content

Commit

Permalink
Add the Aborted flag to the dependency initializer / listeners #1970 (#…
Browse files Browse the repository at this point in the history
…1982)

- Remove SimpleSyncPromise as it's no longer needed
  • Loading branch information
MSNev authored Feb 2, 2023
1 parent 9141ebf commit c920fb7
Show file tree
Hide file tree
Showing 24 changed files with 312 additions and 155 deletions.
2 changes: 0 additions & 2 deletions AISKU/Tests/PerfTests.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

<script src="../../../common/Tests/External/require-2.3.6.js"></script>
<script src="../../../common/Tests/Selenium/ModuleLoader.js"></script>
<script src="../../../common/Tests/Selenium/SimpleSyncPromise.js"></script>


<script>
var modules = new ModuleLoader({
Expand Down
3 changes: 1 addition & 2 deletions AISKU/Tests/UnitTests.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
<script src="../../../common/Tests/External/sinon-2.3.8.js"></script>
<script src="../../../common/Tests/External/require-2.3.6.js"></script>
<script src="../../../common/Tests/Selenium/ModuleLoader.js"></script>
<script src="../../../common/Tests/Selenium/SimpleSyncPromise.js"></script>


<script>
var modules = new ModuleLoader({
baseUrl: '../',
Expand Down
1 change: 0 additions & 1 deletion AISKULight/Tests/UnitTests.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<script src="../../../common/Tests/External/sinon-2.3.8.js"></script>
<script src="../../../common/Tests/External/require-2.3.6.js"></script>
<script src="../../../common/Tests/Selenium/ModuleLoader.js"></script>
<script src="../../../common/Tests/Selenium/SimpleSyncPromise.js"></script>

<script>
var modules = new ModuleLoader({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<!-- <script src="../../../common/Tests/External/sinon-7.3.1.js"></script> -->
<script src="../../../common/Tests/External/require-2.3.6.js"></script>
<script src="../../../common/Tests/Selenium/ModuleLoader.js"></script>
<script src="../../../common/Tests/Selenium/SimpleSyncPromise.js"></script>
<script>
var modules = new ModuleLoader({
baseUrl: '../',
Expand Down
1 change: 1 addition & 0 deletions common/Tests/Framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"grunt": "^1.5.3",
"grunt-contrib-qunit": "^6.2.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
"@nevware21/ts-async": "^0.1.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.3.3",
Expand Down
1 change: 0 additions & 1 deletion common/Tests/Selenium/ModuleLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function loadFetchModule(moduleLoader, name) {
window.Headers = window.Headers || polyFetch.Headers;
window.Response = window.Response || polyFetch.Response;
window.Request = window.Request || polyFetch.Request;
window.Promise = window.Promise || SimpleSyncPromise;

var usePolyFetch = getParameterByName("polyFetch");
if (usePolyFetch) {
Expand Down
88 changes: 0 additions & 88 deletions common/Tests/Selenium/SimpleSyncPromise.js

This file was deleted.

63 changes: 40 additions & 23 deletions common/config/rush/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<!-- <script src="../../../common/Tests/External/require-2.3.6.js" crossorigin="anonymous"></script> -->
<script src="../../../common/Tests/External/require-2.3.6.js"></script>
<script src="../../../common/Tests/Selenium/ModuleLoader.js"></script>
<script src="../../../common/Tests/Selenium/SimpleSyncPromise.js"></script>

<script>
var modules = new ModuleLoader({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<script src="../../../common/Tests/External/sinon-2.3.8.js"></script>
<script src="../../../common/Tests/External/require-2.3.6.js"></script>
<script src="../../../common/Tests/Selenium/ModuleLoader.js"></script>
<script src="../../../common/Tests/Selenium/SimpleSyncPromise.js"></script>

<script>
var modules = new ModuleLoader({
Expand Down
Loading

0 comments on commit c920fb7

Please sign in to comment.