From ed2363b040c01cd873210e5f172c261173740845 Mon Sep 17 00:00:00 2001 From: zjruan Date: Tue, 10 Nov 2015 10:06:20 +0800 Subject: [PATCH] Update text-track-list.js edit code style --- src/js/tracks/text-track-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tracks/text-track-list.js b/src/js/tracks/text-track-list.js index e042af40d4..a4f41a64d1 100644 --- a/src/js/tracks/text-track-list.js +++ b/src/js/tracks/text-track-list.js @@ -26,7 +26,7 @@ let TextTrackList = function(tracks) { list = document.createElement('custom'); for (let prop in TextTrackList.prototype) { - if(prop!=='constructor'){ + if (prop !== 'constructor') { list[prop] = TextTrackList.prototype[prop]; } }