frankyghost / projekktor

The Free Web Video Player
194 stars 75 forks source link

1.4.00 branch: ref set in window namespace (applyImage) #58

Open hwde opened 9 years ago

hwde commented 9 years ago

See:

applyImage: function (url, destObj) {

        var imageObj = $('<img/>').hide(),
            currentImageObj = this.pp.getDC().find("." + this.pp.getMediaId() + "_image"); // select by class to workaround timing issues causing multiple <img> of the same ID being present in the DOM
            ref = this; //<!-- this one ... 
hwde commented 9 years ago

Hm, there seems to be some more globels: $p has been added projekktor has been added label has been added img has been added platforms has been added old has been added best has been added storedData has been added jQuery19107194780057761818 has been added unit has been added

This one is a very nice helper to detect var's : https://stackoverflow.com/questions/14063064/how-to-find-the-global-variables-used-in-my-javascript/14063123#14063123