From cad415e34da70061c8419f240c082f9d2e5666a6 Mon Sep 17 00:00:00 2001 From: Gennady Malyshev Date: Mon, 9 May 2016 14:54:34 -0500 Subject: [PATCH] Changed the angular imports to match the rc1 style (@angular/core etc) --- CKEditor.d.ts | 4 ++-- lib/CKEditor.js | 4 ++-- src/CKEditor.es6 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CKEditor.d.ts b/CKEditor.d.ts index a4f3754..73aee96 100644 --- a/CKEditor.d.ts +++ b/CKEditor.d.ts @@ -2,8 +2,8 @@ import { ElementRef, EventEmitter -} from 'angular2/core'; -import {NgControl, ControlValueAccessor} from 'angular2/common'; +} from '@angular/core'; +import {NgControl, ControlValueAccessor} from '@angular/common'; /** * CKEditor component diff --git a/lib/CKEditor.js b/lib/CKEditor.js index 89f2fe8..f3aed5b 100644 --- a/lib/CKEditor.js +++ b/lib/CKEditor.js @@ -10,9 +10,9 @@ var _createClass = function () { function defineProperties(target, props) { for var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5; // Imports -var _core = require('angular2/core'); +var _core = require('@angular/core'); -var _common = require('angular2/common'); +var _common = require('@angular/common'); function _initDefineProp(target, property, descriptor, context) { if (!descriptor) return; diff --git a/src/CKEditor.es6 b/src/CKEditor.es6 index 1451ec5..50a999c 100644 --- a/src/CKEditor.es6 +++ b/src/CKEditor.es6 @@ -10,8 +10,8 @@ import { OptionalMetadata, EventEmitter, Renderer -} from 'angular2/core'; -import {NgControl, ControlValueAccessor} from 'angular2/common'; +} from '@angular/core'; +import {NgControl, ControlValueAccessor} from '@angular/common'; /** * CKEditor component