Skip to content

Commit fda7743

Browse files
Sean LarkinSean Larkin
Sean Larkin
authored and
Sean Larkin
committed
chore(webpack) cleaned up the html interpolation thats broken from gutting the old builder
1 parent d897f8f commit fda7743

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

addon/ng2/blueprints/ng2/files/__path__/index.html

-41
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
<title><%= jsComponentName %></title>
66
<base href="/">
77

8-
<!-- {{#unless environment.production}}
9-
<script src="/ember-cli-live-reload.js" type="text/javascript"></script>
10-
{{/unless}} -->
118
<meta name="viewport" content="width=device-width, initial-scale=1">
129
<link rel="icon" type="image/x-icon" href="favicon.ico"><% if (isMobile) { %>
1310
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -17,47 +14,9 @@
1714
<link rel="{{rel}}" {{#if sizes}}sizes="{{sizes}}" {{/if}}href="{{href}}">
1815
{{/each}}
1916

20-
<!-- {{#if environment.production}}
21-
<script type="text/javascript">
22-
if ('serviceWorker' in navigator) {
23-
navigator.serviceWorker.register('/worker.js').catch(function(err) {
24-
console.log('Error installing service worker: ', err);
25-
});
26-
}
27-
</script>
28-
{{/if}}
29-
<% } %> -->
3017
</head>
3118
<body>
3219
<<%= htmlComponentName %>-app>Loading...</<%= htmlComponentName %>-app>
3320

34-
<!-- <% if (isMobile) { %>
35-
36-
{{#if environment.production}}
37-
<script src="/app-concat.js" async></script>
38-
{{else}}
39-
{{#each scripts.polyfills}}
40-
<script src="{{.}}"></script>
41-
{{/each}}
42-
<script>
43-
System.import('system-config.js').then(function () {
44-
System.import('main');
45-
}).catch(console.error.bind(console));
46-
</script>
47-
{{/if}}
48-
49-
<% } else { %>
50-
51-
{{#each scripts.polyfills}}
52-
<script src="{{.}}"></script>
53-
{{/each}}
54-
<script>
55-
System.import('system-config.js').then(function () {
56-
System.import('main');
57-
}).catch(console.error.bind(console));
58-
</script>
59-
60-
<% } %> -->
61-
6221
</body>
6322
</html>

0 commit comments

Comments
 (0)