Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Angular 4.2 support #842

Merged
merged 28 commits into from
Jul 31, 2017
Merged

feat: Angular 4.2 support #842

merged 28 commits into from
Jul 31, 2017

Conversation

sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Jun 13, 2017

Fixes #786

@xmlking
Copy link

xmlking commented Jun 19, 2017

when will this PR merged ?

@sis0k0 sis0k0 force-pushed the vlaeva/ng-4.2 branch 5 times, most recently from 066dbb6 to 60a3d2b Compare June 27, 2017 10:47
@sis0k0 sis0k0 self-assigned this Jul 5, 2017
@sis0k0 sis0k0 added this to the 3.2 TBD milestone Jul 5, 2017
@sis0k0 sis0k0 force-pushed the vlaeva/ng-4.2 branch 4 times, most recently from e99e653 to 4264360 Compare July 8, 2017 09:58
@sis0k0 sis0k0 force-pushed the vlaeva/ng-4.2 branch 2 times, most recently from d34de2a to 9580038 Compare July 13, 2017 14:25
@sis0k0 sis0k0 changed the title [DON'T MERGE] feat: Angular 4.2 support feat: Angular 4.2 support Jul 20, 2017
sis0k0 added 3 commits July 21, 2017 17:59
All common providers, such as CommonModule (from @angular/common), Frame, Page, Device and Modals are moved from NativeScriptModule to NativeScriptCommonModule. It can be required from "nativescript-angular/common". The NativeScriptRouterModule also imports the common module now.
Importing NativeScriptModule more than once causes reinstantiating of
the NativeScriptRenderer, which breaks animations.

BREAKING CHANGES:
NativeScriptModule should be imported only in the root application
module (usually named AppModule). It provides essential the Renderer, ModuleLoader and exports the
ApplicationModule.
All other NgModules in the app (both feature and lazy-loaded ones)
should import the NativeScriptCommonModule instead.
The behaviour is alligned with BrowserModule and CommonModule in web
Angular apps. https://angular.io/guide/ngmodule-faq#q-browser-vs-common-module
@jogboms
Copy link

jogboms commented Jul 23, 2017

Still waiting for a merge.... Nice one @sis0k0

@@ -57,7 +57,7 @@
"no-empty": false,
"no-eval": true,
"no-null-keyword": false,
"no-shadowed-variable": true,
"no-shadowed-variable": false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to disable this rule?
Tslint was OK locally when I enabled it back again

@ghost ghost removed the in progress label Jul 31, 2017
@ghost ghost assigned SvetoslavTsenov Jul 31, 2017
@ghost ghost added the in progress label Jul 31, 2017
@sis0k0 sis0k0 merged commit eb3fd81 into master Jul 31, 2017
@ghost ghost removed the ready for test label Jul 31, 2017
@sis0k0 sis0k0 modified the milestones: 4.2, 4.3 Aug 2, 2017
@sis0k0 sis0k0 deleted the vlaeva/ng-4.2 branch August 3, 2017 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants