Skip to content

Conversation

NathanWalker
Copy link
Contributor

closes #151

@hdeshev This is close it seems (80% there). Running into this at moment:

ngsample[99626]: CONSOLE LOG file:///app/nativescript-angular/application.js:91:32: Attempt to use a dehydrated detector: RendererTest_0 -> ngModelChange BaseException@file:///app/tns_modules/angular2/src/facade/exceptions.js:16:32 DehydratedException@file:///app/tns_modules/angular2/src/core/change_detection/exceptions.js:99:20 throwDehydratedError@file:///app/tns_modules/angular2/src/core/change_detection/abstract_change_detector.js:238:123 handleEvent@file:///app/tns_modules/angular2/src/core/change_detection/abstract_change_detector.js:52:38 invoke@file:///app/tns_modules/zone.js/dist/zone.js:308:34 

Wanted to go ahead and push where I'm at. Maybe the final fix is more obvious to you?
If you want to pull this branch and continue from this point would be great if this looks like the right direction.

It's all dependent upon this PR getting merged though:
angular/zone.js#305

^ Due to that, you will need to manually patch zone.js after your npm install with the fix in that PR and then you can could continue work here.

build: {
src: [
'src/**/*.ts',
'node_modules/tns-core-modules/tns-core-modules.d.ts',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This makes tsc compilation happy.

});

page.on('navigatingFrom', (<any>global).zone.bind((args: NavigatedData) => {
page.on('navigatingFrom', (<any>global).Zone.bind((args: NavigatedData) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Once we get the new zone api correct, we will need to update this as well.

@vakrilov vakrilov mentioned this pull request Apr 8, 2016
@vakrilov
Copy link
Contributor

vakrilov commented Apr 8, 2016

10x for the effort @NathanWalker - I have pushed another PR for update directly to beta 14
Closing in favor of #162

@vakrilov vakrilov closed this Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants