Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
(SystemJS) Block-scoped declarations #425
I'm getting following error while running the quickstart project in google chrome:
This error is occurring due to the following line
I'm running ubuntu 14.04. The weird part is that the project is running pretty well in mozilla but not in chrome. Please help.
This error should be fixed by 418dc2e#diff-752ce8d1e20589d7d48a4df20913ad12
Please check that you are using latest version of
So this file should look like:
'use strict'; // This line is missing and fixes problem var templateUrlRegex = /templateUrl\s*:(\s*['"`](.*?)['"`]\s*)/gm; var stylesRegex = /styleUrls *:(\s*\[[^\]]*?\])/g; var stringRegex = /(['`"])((?:[^\\]\\\1|.)*?)\1/g; // rest of the code
This repository is now deprecated. The Angular Quickstart project was a nice starting point for creating Angular applications. Now we recommend using the Angular CLI to create new Angular projects.
Starting from 1 November 2017, all the Angular documentation, at angular.io, is based on the Angular CLI.
Let's get started