Skip to content

Commit 79bf79f

Browse files
author
Omri Armstrong
committed
running tests
1 parent e5466c7 commit 79bf79f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

dist/powerbi.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/powerbi.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/powerbi.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
"jquery": "^2.2.3",
5656
"json-loader": "^0.5.4",
5757
"karma": "^0.13.19",
58-
"karma-chrome-launcher": "^0.2.2",
59-
"karma-coverage": "^0.5.3",
58+
"karma-chrome-launcher": "^0.2.3",
59+
"karma-coverage": "^0.5.5",
6060
"karma-firefox-launcher": "^1.0.0",
61-
"karma-jasmine": "^0.3.7",
62-
"karma-phantomjs-launcher": "^1.0.0",
61+
"karma-jasmine": "^0.3.8",
62+
"karma-phantomjs-launcher": "^1.0.2",
6363
"karma-spec-reporter": "0.0.23",
6464
"moment": "^2.14.1",
6565
"phantomjs-prebuilt": "^2.1.3",

src/embed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ export abstract class Embed {
373373
const settings = utils.assign({}, Embed.defaultSettings, config.settings);
374374
this.config = utils.assign({ settings }, config);
375375
this.config.uniqueId = this.getUniqueId();
376+
this.config.embedUrl = this.getEmbedUrl();
376377

377378
if(this.embeType === 'create') {
378379
this.createConfig = {
@@ -466,7 +467,6 @@ export abstract class Embed {
466467
*/
467468
private setIframe(isLoad: boolean): void {
468469
if(!this.iframe) {
469-
this.config.embedUrl = this.getEmbedUrl();
470470
const iframeHtml = `<iframe style="width:100%;height:100%;" src="${this.config.embedUrl}" scrolling="no" allowfullscreen="true"></iframe>`;
471471
this.element.innerHTML = iframeHtml;
472472
this.iframe = <HTMLIFrameElement>this.element.childNodes[0];

0 commit comments

Comments
 (0)