-
Notifications
You must be signed in to change notification settings - Fork 23
[BREAKING] Discontinue bundling of JavaScript modules as string #1036
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
sap.ui.define(["sap/ui/core/UIComponent", "sap/m/Button", "application/n/MyModuleRequiringGlobalScope"], (UIComponent, Button) => { | ||
"use strict"; | ||
return UIComponent.extend("application.n.Component", { | ||
metadata: { | ||
manifest: "json" | ||
}, | ||
createContent() { | ||
return new Button({text: magic.text}); | ||
} | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
const magic = {text: "It's magic!"}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Application N</title> | ||
|
||
<script id="sap-ui-bootstrap" | ||
src="resources/sap-ui-core.js" | ||
data-sap-ui-xx-waitForTheme="true" | ||
data-sap-ui-theme="sap_horizon" | ||
data-sap-ui-resourceRoots='{ | ||
"application.n": "./" | ||
}' | ||
data-sap-ui-onInit="module:sap/ui/core/ComponentSupport" | ||
data-sap-ui-compatVersion="edge" | ||
data-sap-ui-async="true"> | ||
</script> | ||
</head> | ||
|
||
<body class="sapUiBody"> | ||
<div data-sap-ui-component data-name="application.n" data-id="container" data-settings='{"id" : "n"}'></div> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"_version": "1.21.0", | ||
"sap.app": { | ||
"id": "application.n", | ||
"type": "application", | ||
"applicationVersion": { | ||
"version": "1.0.0" | ||
} | ||
}, | ||
"sap.ui5": { | ||
"contentDensities": { | ||
"compact": true, | ||
"cozy": true | ||
}, | ||
"dependencies": { | ||
"minUI5Version": "1.108.0", | ||
"libs": { | ||
"sap.ui.core": {}, | ||
"sap.m": {} | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
sap.ui.define(["sap/ui/core/UIComponent", "sap/m/Button", "application/n/MyModuleRequiringGlobalScope"], (UIComponent, Button) => { | ||
"use strict"; | ||
return UIComponent.extend("application.n.Component", { | ||
metadata: { | ||
manifest: "json" | ||
}, | ||
createContent() { | ||
return new Button({text: magic.text}); | ||
} | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
const magic = {text: "It's magic!"}; |
Uh oh!
There was an error while loading. Please reload this page.