@@ -87,7 +87,7 @@ function _Embed_DashboardEmbed() {
8787 // You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
8888 var config = {
8989 type : 'dashboard' ,
90- tokenType : models . TokenType . Embed ,
90+ tokenType : 1 , // models.TokenType.Embed,
9191 accessToken : txtAccessToken ,
9292 embedUrl : txtEmbedUrl ,
9393 id : txtEmbedDashboardId
@@ -140,7 +140,7 @@ function _Mock_Embed_BasicEmbed(isEdit) {
140140 // You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
141141 var config = {
142142 type : 'report' ,
143- tokenType : models . TokenType . Embed ,
143+ tokenType : 1 , // models.TokenType.Embed,
144144 accessToken : txtAccessToken ,
145145 embedUrl : txtEmbedUrl ,
146146 id : txtEmbedReportId ,
@@ -212,7 +212,7 @@ function _Embed_BasicEmbed_EditMode() {
212212 // You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
213213 var config = {
214214 type : 'report' ,
215- tokenType : models . TokenType . Embed ,
215+ tokenType : 1 , // models.TokenType.Embed,
216216 accessToken : txtAccessToken ,
217217 embedUrl : txtEmbedUrl ,
218218 id : txtEmbedReportId ,
@@ -272,7 +272,7 @@ function _Embed_EmbedWithDefaultFilter() {
272272
273273 var embedConfiguration = {
274274 type : 'report' ,
275- tokenType : models . TokenType . Embed ,
275+ tokenType : 1 , // models.TokenType.Embed,
276276 accessToken : txtAccessToken ,
277277 embedUrl : txtEmbedUrl ,
278278 id : txtEmbedReportId ,
@@ -303,7 +303,7 @@ function _Embed_Create() {
303303 // Embed create configuration used to describe the what and how to create report.
304304 // This object is used when calling powerbi.createReport.
305305 var embedCreateConfiguration = {
306- tokenType : models . TokenType . Embed ,
306+ tokenType : 1 , // models.TokenType.Embed,
307307 accessToken : txtAccessToken ,
308308 embedUrl : txtEmbedUrl ,
309309 datasetId : txtEmbedDatasetId ,
@@ -352,7 +352,7 @@ function _Mock_Embed_Create() {
352352 // Embed create configuration used to describe the what and how to create report.
353353 // This object is used when calling powerbi.createReport.
354354 var embedCreateConfiguration = {
355- tokenType : models . TokenType . Embed ,
355+ tokenType : 1 , // models.TokenType.Embed,
356356 accessToken : txtAccessToken ,
357357 embedUrl : txtEmbedUrl ,
358358 datasetId : txtEmbedDatasetId ,
0 commit comments