-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix de URLs #1465
Fix de URLs #1465
Conversation
@@ -1,9 +1,19 @@ | |||
import EmberRouter from '@ember/routing/router'; | |||
import config from 'pilasbloques/config/environment'; | |||
|
|||
|
|||
function sendRouteToParent(route) { | |||
if (!route.includes('react-imported-challenge')) window.parent.postMessage({ route }, '*'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
El if es para que no explote intentando redireccionar a desafio/react-imported-challenge
desde react.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
esto debería estar en un comment
@@ -1,9 +1,19 @@ | |||
import EmberRouter from '@ember/routing/router'; | |||
import config from 'pilasbloques/config/environment'; | |||
|
|||
|
|||
function sendRouteToParent(route) { | |||
if (!route.includes('react-imported-challenge')) window.parent.postMessage({ route }, '*'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
esto debería estar en un comment
Resolves #1454
React: Program-AR/pilas-bloques-app#126