Skip to content

Commit

Permalink
Upgrade to 4.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Richardson committed Feb 7, 2017
1 parent 1579a4b commit fb5c5f5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
3 changes: 2 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# angular2-hotkeys
Angular 2.4.x Compatible
Angular 2.4.x Compatible (v1.x.x)
Angular 4.0.0-beta.x Compatible (v2.x.x)
## Installation

To install this library, run:
Expand Down
20 changes: 8 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular2-hotkeys",
"version": "1.0.3",
"version": "2.0.0",
"scripts": {
"lint": "tslint src/**/*.ts",
"test": "tsc && karma start",
Expand Down Expand Up @@ -33,20 +33,16 @@
"mousetrap": "^1.6.0"
},
"devDependencies": {
"@angular/core": "^2.4.6",
"@angular/common": "^2.4.6",
"@angular/compiler": "^2.4.6",
"@angular/compiler-cli": "^2.4.6",
"@angular/platform-server": "^2.4.6",
"@angular/common": "4.0.0-beta.6",
"@angular/compiler": "4.0.0-beta.6",
"@angular/compiler-cli": "4.0.0-beta.6",
"@angular/core": "4.0.0-beta.6",
"@types/core-js": "^0.9.35",
"codelyzer": "^0.0.28",
"rxjs": "^5.0.1",
"tslint": "^3.15.1",
"typescript": "2.0.2",
"zone.js": "0.7.2",
"@types/es6-shim": "^0.31.32",
"@types/protractor": "^4.0.0",
"@types/jasmine": "^2.5.40",
"@types/selenium-webdriver": "^2.53.39"
"typescript": "2.1.5",
"zone.js": "0.7.2"
},
"engines": {
"node": ">=0.8.0"
Expand Down
6 changes: 3 additions & 3 deletions src/hotkey.options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {OpaqueToken} from '@angular/core';
import {InjectionToken} from '@angular/core';

export interface IHotkeyOptions {
/**
Expand All @@ -14,5 +14,5 @@ export interface IHotkeyOptions {
*/
cheatSheetDescription?: string;
}
;
export const HotkeyOptions = new OpaqueToken('HotkeyOptions');

export const HotkeyOptions = new InjectionToken<IHotkeyOptions>('HotkeyOptions');

0 comments on commit fb5c5f5

Please sign in to comment.