| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f2d1d4f commit 2d50158
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -197,8 +197,12 @@ export class GesturesObserver extends GesturesObserverBase { | |||
| 197 | 197 | } | |
| 198 | 198 | ||
| 199 | 199 | public _executeCallback(args: GestureEventData) { | |
| 200 | - if (this.callback) { | ||
| 201 | - this.callback.call(this.context, args); | ||
| 200 | + try { | ||
| 201 | + if (this.callback && this.context) { | ||
| 202 | + this.callback.call(this.context, args); | ||
| 203 | + } | ||
| 204 | + } catch (e) { | ||
| 205 | + // TODO | ||
| 202 | 206 | } | |
| 203 | 207 | } | |
| 204 | 208 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments