Skip to content

Commit 475b9ba

Browse files
committed
Revert extention -> extension change
"EXTENTION" is used for bootstrapping in the build_runner which will need to change for this change.
1 parent a840020 commit 475b9ba

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dwds/lib/src/handlers/injector.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import 'package:shelf/shelf.dart';
1818
const bootstrapJsExtension = '.bootstrap.js';
1919

2020
/// Marker placed by build_web_compilers for where to put injected JS code.
21-
const entrypointExtensionMarker = '/* ENTRYPOINT_EXTENSION_MARKER */';
21+
const entrypointExtensionMarker = '/* ENTRYPOINT_EXTENTION_MARKER */';
2222

2323
/// Marker placed by build_web_compilers for where to put injected JS code.
2424
const mainExtensionMarker = '/* MAIN_EXTENSION_MARKER */';

frontend_server_client/lib/src/dartdevc_bootstrap_amd.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ document.head.appendChild(requireEl);
4848
/// `foo__bar__baz`. Rather than attempt to guess, we assume the first property of
4949
/// this object is the module.
5050
String generateAmdMainModule({required String entrypoint}) {
51-
return '''/* ENTRYPOINT_EXTENSION_MARKER */
51+
return '''/* ENTRYPOINT_EXTENTION_MARKER */
5252
// Create the main module loaded below.
5353
require(["$entrypoint.lib.js", "dart_sdk"], function(app, dart_sdk) {
5454
dart_sdk.dart.setStartAsyncSynchronously(true);

frontend_server_common/lib/src/bootstrap.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ document.head.appendChild(requireEl);
122122
/// `foo__bar__baz`. Rather than attempt to guess, we assume the first property of
123123
/// this object is the module.
124124
String generateMainModule({required String entrypoint}) {
125-
return '''/* ENTRYPOINT_EXTENSION_MARKER */
125+
return '''/* ENTRYPOINT_EXTENTION_MARKER */
126126
127127
// Create the main module loaded below.
128128
define("main_module.bootstrap", ["$entrypoint", "dart_sdk"], function(app, dart_sdk) {
@@ -357,7 +357,7 @@ $_simpleLoaderScript
357357
String generateDDCMainModule(
358358
{required String entrypoint, String? exportedMain}) {
359359
final exportedMainName = exportedMain ?? entrypoint.split('.')[0];
360-
return '''/* ENTRYPOINT_EXTENSION_MARKER */
360+
return '''/* ENTRYPOINT_EXTENTION_MARKER */
361361
362362
(function() {
363363
let appName = "$entrypoint";
@@ -453,7 +453,7 @@ $_simpleLoaderScript
453453
}
454454

455455
String generateDDCLibraryBundleMainModule({required String entrypoint}) {
456-
return '''/* ENTRYPOINT_EXTENSION_MARKER */
456+
return '''/* ENTRYPOINT_EXTENTION_MARKER */
457457
458458
(function() {
459459
let appName = "org-dartlang-app:///$entrypoint";

0 commit comments

Comments
 (0)