mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
e2e: make examples build per-platform
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<script src="platform.js"></script>
|
||||
</head>
|
||||
<body ion-app>
|
||||
</body>
|
||||
|
||||
2
scripts/e2e/platform.template.js
Normal file
2
scripts/e2e/platform.template.js
Normal file
@@ -0,0 +1,2 @@
|
||||
//TODO find a better override than window
|
||||
window.IONIC_PLATFORM = '<%= platform %>';
|
||||
Reference in New Issue
Block a user