Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
607adf63
Commit
607adf63
authored
Sep 19, 2016
by
Ward Bell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: replace "angular 2" with "angular"
parent
f95cf417
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
12 deletions
+17
-12
CHANGELOG.md
CHANGELOG.md
+5
-0
Dockerfile
Dockerfile
+2
-2
README.md
README.md
+3
-3
app/app.component.spec.ts
app/app.component.spec.ts
+1
-1
app/app.component.ts
app/app.component.ts
+1
-1
e2e/app.e2e-spec.ts
e2e/app.e2e-spec.ts
+1
-1
index.html
index.html
+1
-1
package.json
package.json
+1
-1
protractor.config.js
protractor.config.js
+1
-1
systemjs.config.js
systemjs.config.js
+1
-1
No files found.
CHANGELOG.md
View file @
607adf63
<a
name=
"0.2.10"
></a>
# 0.2.10 (2016-09-19)
*
All "Angular 2" references become just "Angular"
*
No code changes
<a
name=
"0.2.9"
></a>
# 0.2.9 (2016-09-14)
*
Angular 2.0.0 version
...
...
Dockerfile
View file @
607adf63
# To build and run with Docker:
#
# $ docker build -t ng
2
-quickstart .
# $ docker run -it --rm -p 3000:3000 -p 3001:3001 ng
2
-quickstart
# $ docker build -t ng-quickstart .
# $ docker run -it --rm -p 3000:3000 -p 3001:3001 ng-quickstart
#
FROM
node:latest
...
...
README.md
View file @
607adf63
# Angular
2
QuickStart Source
# Angular QuickStart Source
[
![Build Status
][
travis-badge
]
][travis-badge-url]
This repository holds the TypeScript source code of the
[
angular.io quickstart
](
https://angular.io/docs/ts/latest/quickstart.html
)
,
...
...
@@ -7,14 +7,14 @@ the foundation for most of the documentation samples and potentially a good star
It's been extended with testing support so you can start writing tests immediately.
**
This is not the perfect arrangement for your application. It is not designed for production.
It exists primarily to get you started quickly with learning and prototyping in Angular
2
**
It exists primarily to get you started quickly with learning and prototyping in Angular
**
We are unlikely to accept suggestions about how to grow this QuickStart into something it is not.
Please keep that in mind before posting issues and PRs.
## Prerequisites
Node.js and npm are essential to Angular
2
development.
Node.js and npm are essential to Angular development.
<a
href=
"https://docs.npmjs.com/getting-started/installing-node"
target=
"_blank"
title=
"Installing Node.js and updating npm"
>
Get it now
</a>
if it's not already installed on your machine.
...
...
app/app.component.spec.ts
View file @
607adf63
...
...
@@ -32,6 +32,6 @@ describe('AppComponent with TCB', function () {
h1
=
fixture
.
debugElement
.
query
(
By
.
css
(
'
h1
'
)).
nativeElement
;
// preferred
expect
(
h1
.
innerText
).
toMatch
(
/angular
2 app/i
,
'
<h1> should say something about "Angular 2
App"
'
);
expect
(
h1
.
innerText
).
toMatch
(
/angular
app/i
,
'
<h1> should say something about "Angular
App"
'
);
});
});
app/app.component.ts
View file @
607adf63
...
...
@@ -2,6 +2,6 @@ import { Component } from '@angular/core';
@
Component
({
selector
:
'
my-app
'
,
template
:
'
<h1>My First Angular
2
App</h1>
'
template
:
'
<h1>My First Angular App</h1>
'
})
export
class
AppComponent
{
}
e2e/app.e2e-spec.ts
View file @
607adf63
describe
(
'
QuickStart E2E Tests
'
,
function
()
{
let
expectedMsg
=
'
My First Angular
2
App
'
;
let
expectedMsg
=
'
My First Angular App
'
;
beforeEach
(
function
()
{
...
...
index.html
View file @
607adf63
<!DOCTYPE html>
<html>
<head>
<title>
Angular
2
QuickStart
</title>
<title>
Angular QuickStart
</title>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"styles.css"
>
...
...
package.json
View file @
607adf63
{
"name"
:
"angular
2
-quickstart"
,
"name"
:
"angular-quickstart"
,
"version"
:
"1.0.0"
,
"description"
:
"QuickStart package.json from the documentation, supplemented with testing support"
,
"scripts"
:
{
...
...
protractor.config.js
View file @
607adf63
...
...
@@ -30,7 +30,7 @@ exports.config = {
specs
:
[
'
**/*e2e-spec.js
'
],
// For angular
2
tests
// For angular tests
useAllAngular2AppRoots
:
true
,
// Base URL for application server
...
...
systemjs.config.js
View file @
607adf63
/**
* System configuration for Angular
2
samples
* System configuration for Angular samples
* Adjust as necessary for your application needs.
*/
(
function
(
global
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment