Skip to content

Instantly share code, notes, and snippets.

@Extarys
Created September 11, 2017 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Extarys/9fbb6a0f0dbbe4a43861aacb8c523295 to your computer and use it in GitHub Desktop.
Save Extarys/9fbb6a0f0dbbe4a43861aacb8c523295 to your computer and use it in GitHub Desktop.
Copy/paste navbar demo
ERROR
TypeError: _co.handleToolbarChange is not a function
Stack trace:
View_AppComponent_0/<@ng:///AppModule/AppComponent.ngfactory.js:15:23
handleEvent@http://127.0.0.1:4200/vendor.bundle.js:70736:98
callWithDebugContext@http://127.0.0.1:4200/vendor.bundle.js:72197:39
debugHandleEvent@http://127.0.0.1:4200/vendor.bundle.js:71785:12
dispatchEvent@http://127.0.0.1:4200/vendor.bundle.js:67329:12
eventHandlerClosure/<@http://127.0.0.1:4200/vendor.bundle.js:69497:20
../../../core/@angular/core.es5.js/</EventEmitter.prototype.subscribe/schedulerFn<@http://127.0.0.1:4200/vendor.bundle.js:62369:36
../../../../rxjs/Subscriber.js/SafeSubscriber.prototype.__tryOrUnsub@http://127.0.0.1:4200/vendor.bundle.js:18788:13
../../../../rxjs/Subscriber.js/SafeSubscriber.prototype.next@http://127.0.0.1:4200/vendor.bundle.js:18735:17
../../../../rxjs/Subscriber.js/Subscriber.prototype._next@http://127.0.0.1:4200/vendor.bundle.js:18675:9
../../../../rxjs/Subscriber.js/Subscriber.prototype.next@http://127.0.0.1:4200/vendor.bundle.js:18639:13
../../../../rxjs/Subject.js/Subject.prototype.next@http://127.0.0.1:4200/vendor.bundle.js:18383:17
../../../core/@angular/core.es5.js/</EventEmitter.prototype.emit@http://127.0.0.1:4200/vendor.bundle.js:62343:54
notifyChange@http://127.0.0.1:4200/vendor.bundle.js:10883:17
updateToolbarStyles_/this.scrollFrame_<@http://127.0.0.1:4200/vendor.bundle.js:10725:17
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.invokeTask@http://127.0.0.1:4200/polyfills.bundle.js:2965:17
onInvokeTask@http://127.0.0.1:4200/vendor.bundle.js:62603:24
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.invokeTask@http://127.0.0.1:4200/polyfills.bundle.js:2964:17
../../../../zone.js/dist/zone.js/</</Zone.prototype.runTask@http://127.0.0.1:4200/polyfills.bundle.js:2732:28
../../../../zone.js/dist/zone.js/</</ZoneTask.invokeTask@http://127.0.0.1:4200/polyfills.bundle.js:3039:24
ZoneTask/this.invoke@http://127.0.0.1:4200/polyfills.bundle.js:3028:28
timer@http://127.0.0.1:4200/polyfills.bundle.js:4436:17
FrameRequestCallback*scheduleTask@http://127.0.0.1:4200/polyfills.bundle.js:4446:25
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.scheduleTask@http://127.0.0.1:4200/polyfills.bundle.js:2951:21
onScheduleTask@http://127.0.0.1:4200/polyfills.bundle.js:2841:20
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.scheduleTask@http://127.0.0.1:4200/polyfills.bundle.js:2945:30
../../../../zone.js/dist/zone.js/</</Zone.prototype.scheduleTask@http://127.0.0.1:4200/polyfills.bundle.js:2776:24
../../../../zone.js/dist/zone.js/</</Zone.prototype.scheduleMacroTask@http://127.0.0.1:4200/polyfills.bundle.js:2799:20
patchTimer/setNative</<@http://127.0.0.1:4200/polyfills.bundle.js:4472:28
patchMethod/proto[name]@http://127.0.0.1:4200/polyfills.bundle.js:3814:24
updateToolbarStyles_@http://127.0.0.1:4200/vendor.bundle.js:10707:33
setKeyHeights_@http://127.0.0.1:4200/vendor.bundle.js:10698:17
init@http://127.0.0.1:4200/vendor.bundle.js:10653:13
../../../../@angular-mdc/web/material.es5.js/MdcToolbarComponent</MdcToolbarComponent.prototype.ngAfterViewInit@http://127.0.0.1:4200/vendor.bundle.js:10942:9
callProviderLifecycles@http://127.0.0.1:4200/vendor.bundle.js:69916:9
callElementProvidersLifecycles@http://127.0.0.1:4200/vendor.bundle.js:69891:13
callLifecycleHooksChildrenFirst@http://127.0.0.1:4200/vendor.bundle.js:69875:17
checkAndUpdateView@http://127.0.0.1:4200/vendor.bundle.js:70985:5
callViewAction@http://127.0.0.1:4200/vendor.bundle.js:71342:21
execComponentViewsAction@http://127.0.0.1:4200/vendor.bundle.js:71274:13
checkAndUpdateView@http://127.0.0.1:4200/vendor.bundle.js:70983:5
callWithDebugContext@http://127.0.0.1:4200/vendor.bundle.js:72197:39
debugCheckAndUpdateView@http://127.0.0.1:4200/vendor.bundle.js:71737:12
../../../core/@angular/core.es5.js/</ViewRef_.prototype.detectChanges@http://127.0.0.1:4200/vendor.bundle.js:68903:9
../../../core/@angular/core.es5.js/</ApplicationRef_.prototype.tick/<@http://127.0.0.1:4200/vendor.bundle.js:63534:58
../../../core/@angular/core.es5.js/</ApplicationRef_.prototype.tick@http://127.0.0.1:4200/vendor.bundle.js:63534:13
../../../core/@angular/core.es5.js/</ApplicationRef_.prototype._loadComponent@http://127.0.0.1:4200/vendor.bundle.js:63509:9
../../../core/@angular/core.es5.js/</ApplicationRef_.prototype.bootstrap@http://127.0.0.1:4200/vendor.bundle.js:63497:9
../../../core/@angular/core.es5.js/</PlatformRef_.prototype._moduleDoBootstrap/<@http://127.0.0.1:4200/vendor.bundle.js:63268:74
../../../core/@angular/core.es5.js/</PlatformRef_.prototype._moduleDoBootstrap@http://127.0.0.1:4200/vendor.bundle.js:63268:13
../../../core/@angular/core.es5.js/</PlatformRef_.prototype._bootstrapModuleFactoryWithZone/</</<@http://127.0.0.1:4200/vendor.bundle.js:63230:21
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.invoke@http://127.0.0.1:4200/polyfills.bundle.js:2932:17
onInvoke@http://127.0.0.1:4200/vendor.bundle.js:62612:24
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.invoke@http://127.0.0.1:4200/polyfills.bundle.js:2931:17
../../../../zone.js/dist/zone.js/</</Zone.prototype.run@http://127.0.0.1:4200/polyfills.bundle.js:2682:24
scheduleResolveOrReject/<@http://127.0.0.1:4200/polyfills.bundle.js:3384:52
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.invokeTask@http://127.0.0.1:4200/polyfills.bundle.js:2965:17
onInvokeTask@http://127.0.0.1:4200/vendor.bundle.js:62603:24
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.invokeTask@http://127.0.0.1:4200/polyfills.bundle.js:2964:17
../../../../zone.js/dist/zone.js/</</Zone.prototype.runTask@http://127.0.0.1:4200/polyfills.bundle.js:2732:28
drainMicroTaskQueue@http://127.0.0.1:4200/polyfills.bundle.js:3142:25
promise callback*scheduleMicroTask@http://127.0.0.1:4200/polyfills.bundle.js:3125:17
../../../../zone.js/dist/zone.js/</</ZoneDelegate.prototype.scheduleTask@http://127.0.0.1:4200/polyfills.bundle.js:2954:21
../../../../zone.js/dist/zone.js/</</Zone.prototype.scheduleTask@http://127.0.0.1:4200/polyfills.bundle.js:2776:24
../../../../zone.js/dist/zone.js/</</Zone.prototype.scheduleMicroTask@http://127.0.0.1:4200/polyfills.bundle.js:2796:20
scheduleResolveOrReject@http://127.0.0.1:4200/polyfills.bundle.js:3382:9
../../../../zone.js/dist/zone.js/</</</ZoneAwarePromise</ZoneAwarePromise.prototype.then@http://127.0.0.1:4200/polyfills.bundle.js:3472:17
../../../core/@angular/core.es5.js/</PlatformRef_.prototype._bootstrapModuleWithZone@http://127.0.0.1:4200/vendor.bundle.js:63258:16
../../../core/@angular/core.es5.js/</PlatformRef_.prototype.bootstrapModule@http://127.0.0.1:4200/vendor.bundle.js:63244:16
../../../../../src/main.ts@http://127.0.0.1:4200/main.bundle.js:160:1
__webpack_require__@http://127.0.0.1:4200/inline.bundle.js:55:12
[0]@http://127.0.0.1:4200/main.bundle.js:193:18
__webpack_require__@http://127.0.0.1:4200/inline.bundle.js:55:12
webpackJsonpCallback@http://127.0.0.1:4200/inline.bundle.js:26:23
@http://127.0.0.1:4200/main.bundle.js:1:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment