-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
ReferenceError: window is not defined at now in progress-circle.js #837
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jul 10, 2016
* Removes the references to `window` in the progressCircle component. * A couple of minor coding style tweaks. Fixes angular#837.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jul 11, 2016
* Removes the references to `window` in the progressCircle component. * A couple of minor coding style tweaks. Fixes angular#837.
jelbourn
pushed a commit
that referenced
this issue
Jul 13, 2016
* Removes the references to `window` in the progressCircle component. * A couple of minor coding style tweaks. Fixes #837.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug
What is the expected behavior?
md-spinner should render on server side when *shellRender is used.
What is the current behavior?
ReferenceError: window is not defined at now (/home/developer/hybris-store-angular2/node_modules/@angular2-material/progress-circle/progress-circle.js:255:9) at MdSpinner.MdProgressCircle._animateCircle (/home/developer/hybris-store-angular2/node_modules/@angular2-material/progress-circle/progress-circle.js:141:25) at animate (/home/developer/hybris-store-angular2/node_modules/@angular2-material/progress-circle/progress-circle.js:170:19) at MdSpinner.MdProgressCircle._startIndeterminateAnimation (/home/developer/hybris-store-angular2/node_modules/@angular2-material/progress-circle/progress-circle.js:179:13) at MdSpinner.Object.defineProperty.set [as mode] (/home/developer/hybris-store-angular2/node_modules/@angular2-material/progress-circle/progress-circle.js:118:22) at new MdSpinner (/home/developer/hybris-store-angular2/node_modules/@angular2-material/progress-circle/progress-circle.js:226:19) at DebugAppView._View_AppComponent3.createInternal (AppComponent.template.js:237:25) at DebugAppView.AppView.create (/home/developer/hybris-store-angular2/node_modules/@angular/core/src/linker/view.js:87:21) at DebugAppView.create (/home/developer/hybris-store-angular2/node_modules/@angular/core/src/linker/view.js:299:44) at TemplateRef_.createEmbeddedView (/home/developer/hybris-store-angular2/node_modules/@angular/core/src/linker/template_ref.js:57:14) at ViewContainerRef_.createEmbeddedView (/home/developer/hybris-store-angular2/node_modules/@angular/core/src/linker/view_container_ref.js:99:35) at ShellRender.ngOnInit (/home/developer/hybris-store-angular2/node_modules/@angular/app-shell/shell-render.directive.js:24:33) at DebugAppView._View_AppComponent0.detectChangesInternal (AppComponent.template.js:78:110) at DebugAppView.AppView.detectChanges (/home/developer/hybris-store-angular2/node_modules/@angular/core/src/linker/view.js:234:14) at DebugAppView.detectChanges (/home/developer/hybris-store-angular2/node_modules/@angular/core/src/linker/view.js:339:44) at DebugAppView.AppView.detectViewChildrenChanges (/home/developer/hybris-store-angular2/node_modules/@angular/core/src/linker/view.js:260:19) ERROR CONTEXT: [object Object]
Which versions of Angular, Material, OS, browsers are affected?
"dependencies": {
"@angular/common": "2.0.0-rc.3",
"@angular/compiler": "2.0.0-rc.3",
"@angular/core": "2.0.0-rc.3",
"@angular/forms": "0.1.1",
"@angular/http": "2.0.0-rc.3",
"@angular/platform-browser": "2.0.0-rc.3",
"@angular/platform-browser-dynamic": "2.0.0-rc.3",
"@angular/router": "3.0.0-alpha.7",
"@angular2-material/core": "^2.0.0-alpha.6",
"@angular2-material/progress-circle": "^2.0.0-alpha.6",
"@angular2-material/toolbar": "^2.0.0-alpha.6",
"es6-shim": "0.35.1",
"reflect-metadata": "0.1.3",
"rxjs": "5.0.0-beta.6",
"systemjs": "0.19.26",
"zone.js": "0.6.12"
},
Is there anything else we should know?
While using angular-cli with --mobile
The text was updated successfully, but these errors were encountered: