@ambers/contrib-legacy
Version:
Legacy IDE and a few other old non-core packages
30 lines (26 loc) • 812 B
HTML
<html>
<head>
<title>Amber legacy items</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="Amber contributors"/>
<script type='text/javascript' src='the.js'></script>
</head>
<body>
<script type='text/javascript'>
var global = typeof global === "undefined" ? window : global || window;
new Promise(function (resolve, reject) {
require(['app'], resolve, reject);
}).then(function (amber) {
return amber.initialize({
//used for all new packages in IDE
'transport.defaultAmdNamespace': "amber/legacy"
});
}).then(function () {
require(["amber-ide-starter-dialog"], function (dlg) {
dlg.start();
});
});
</script>
</body>
</html>