-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
map nos permite agregar alias a rutas locales y reutilizarlas 1.- agregamos map a reuirejs-config , creamos alias y le asignamos el path 2.- el alias creado en map ahora lo usamos para hacer referencia a al modulo en nuestro phtml
- Loading branch information
1 parent
b132296
commit f0940f6
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
var config = { | ||
|
||
"map":{ | ||
"*":{ | ||
"fadeInElement":"JavaScriptDev_JsFun/js/fade-in-element" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
code/JavaScriptDev/JsFun/view/frontend/templates/block-promo-effects.phtml
This file contains 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