Created
April 26, 2016 05:43
-
-
Save cosemansp/e42c58691d5b9b02a1b6c9efc132b80f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// beta.15 | |
import { NgZone } from 'angular2/core'; | |
constructor(nav, navParams, apiServer) { | |
this.zone = new NgZone({ enableLongStackTrace: false }); | |
} | |
method() { | |
this.zone.run(() => { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment