Skip to content

Commit

Permalink
chore(webpack) cleaned up the html interpolation thats broken from gu…
Browse files Browse the repository at this point in the history
…tting the old builder
  • Loading branch information
Sean Larkin authored and Sean Larkin committed Jun 6, 2016
1 parent d897f8f commit fda7743
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions addon/ng2/blueprints/ng2/files/__path__/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<title><%= jsComponentName %></title>
<base href="/">

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

<!-- {{#if environment.production}}
<script type="text/javascript">
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/worker.js').catch(function(err) {
console.log('Error installing service worker: ', err);
});
}
</script>
{{/if}}
<% } %> -->
</head>
<body>
<<%= htmlComponentName %>-app>Loading...</<%= htmlComponentName %>-app>

<!-- <% if (isMobile) { %>
{{#if environment.production}}
<script src="/app-concat.js" async></script>
{{else}}
{{#each scripts.polyfills}}
<script src="{{.}}"></script>
{{/each}}
<script>
System.import('system-config.js').then(function () {
System.import('main');
}).catch(console.error.bind(console));
</script>
{{/if}}
<% } else { %>
{{#each scripts.polyfills}}
<script src="{{.}}"></script>
{{/each}}
<script>
System.import('system-config.js').then(function () {
System.import('main');
}).catch(console.error.bind(console));
</script>
<% } %> -->

</body>
</html>

0 comments on commit fda7743

Please sign in to comment.