Skip to content

Commit df910c1

Browse files
mock chart dep and use it from relative file path
1 parent c7f8efc commit df910c1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • managed-html5-runtime-fiori-launchpad-mta/HTML5Module2/webapp/control

managed-html5-runtime-fiori-launchpad-mta/HTML5Module2/webapp/control/BarChart.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
sap.ui.define([
22
"sap/ui/core/Control",
3-
"chart.js"
4-
], function (Control, Chart) {
3+
"chart.js",
4+
"../resources/chart.js"
5+
], function (Control, StayHereToIncludeChartInBuild, Chart) {
56
"use strict"
67

78
return Control.extend("com.sap.demo.control.BarChart", {

0 commit comments

Comments
 (0)