Skip to content

Commit 08dc590

Browse files
committed
Remove unused code
1 parent a106a43 commit 08dc590

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/ng-embed.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@
220220
scope.image = {};
221221
scope.audio = {};
222222
scope.audioServices = [];
223-
scope.object = embedObject;
224223

225224
scope.$watch("shouldUpdate", updateData);
226225

@@ -544,11 +543,11 @@
544543

545544
}
546545

547-
x = options.basicVideo ? videoProcess.embedBasic(x) : x;
548-
x = options.audio.embed ? audioProcess.embed(x) : x;
549-
x = options.image.embed ? imageProcess.embed(x) : x;
550-
x = options.soundCloudEmbed ? audioProcess.soundcloudEmbed(x, options) : x;
551-
x = options.spotifyEmbed ? audioProcess.spotifyEmbed(x, options) : x;
546+
x = options.basicVideo ? videoProcess.embedBasic(x) : x;
547+
x = options.audio.embed ? audioProcess.embed(x) : x;
548+
x = options.image.embed ? imageProcess.embed(x) : x;
549+
x = options.soundCloudEmbed ? audioProcess.soundcloudEmbed(x, options) : x;
550+
x = options.spotifyEmbed ? audioProcess.spotifyEmbed(x, options) : x;
552551

553552
scope.neText = $sce.trustAsHtml(x);
554553
scope.shouldUpdate = false;

0 commit comments

Comments
 (0)