1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-27 02:43:45 +02:00

Fix minified property access

Use a string literal to reference the tech's player property so the access isn't mangled by closure.
This commit is contained in:
David LaPalomento 2013-03-08 10:13:01 -05:00
parent 0ba7166636
commit 7e0ee0c799

View File

@ -33,5 +33,5 @@ test('should re-link the player if the tech is moved', function(){
};
tech.createEl();
strictEqual(player, tech.el().player);
strictEqual(player, tech.el()['player']);
});