Skip to content

Commit

Permalink
fix: Add doctype to index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann committed Oct 27, 2017
1 parent c539e77 commit 83f6c02
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -11,6 +11,7 @@ A context menu built with Angular (2+) inspired by [ui.bootstrap.contextMenu](ht

- `npm install ngx-contextmenu @angular/cdk@2.0.0-beta.12`
- import ContextMenuModule into your app module
- Make sure to include `<!doctype html>` at the top of your `index.html`

## Usage

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/demo/app.component.ts
Expand Up @@ -30,10 +30,10 @@ export class AppComponent {
name: 'John',
otherProperty: 'Foo',
layout: {
height: 90,
left: 0,
top: 0,
width: 98,
height: '90px',
left: '0px',
top: '0px',
width: '98px',
},
actions: [{
enabled: true,
Expand All @@ -54,10 +54,10 @@ export class AppComponent {
name: 'Joe',
otherProperty: 'Bar',
layout: {
height: 90,
left: 98,
top: 0,
width: 98,
height: '90px',
left: '98px',
top: '0px',
width: '98px',
},
actions: [{
enabled: true,
Expand Down
1 change: 1 addition & 0 deletions src/index.html
@@ -1,3 +1,4 @@
<!doctype html>
<html>
<head>
<title>Angular2 Context Menu Demo</title>
Expand Down

0 comments on commit 83f6c02

Please sign in to comment.