Add yet another way to detect magento (#1801)

* Add yet another way to detect magento

Magento is using `<script type=\"text/x-magento-init\">` to do fancy
javascript stuff, à la angular.

* Unfuck indentation
main
jvoisin 7 years ago committed by Elbert Alias
parent 77c867a48f
commit 30d14d4ed4

@ -4933,7 +4933,8 @@
}, },
"html": [ "html": [
"<script [^>]+data-requiremodule=\"mage/\\;version:2", "<script [^>]+data-requiremodule=\"mage/\\;version:2",
"<script [^>]+data-requiremodule=\"Magento_\\;version:2" "<script [^>]+data-requiremodule=\"Magento_\\;version:2",
"<script type=\"text/x-magento-init\">"
], ],
"icon": "Magento.png", "icon": "Magento.png",
"implies": "PHP", "implies": "PHP",

Loading…
Cancel
Save