That's the whole point tho. Besides with it being a string, there should be reasonable assurance that strict equality would work fine

Sent from my iPhone

> On Jan 15, 2014, at 5:01 PM, Liz Lee <notifications@github.com> wrote:
> 
> In extensions/wikia/VideoEmbedTool/js/VET_WikiaEditor.js:
> 
> >  				}
> >  
> >  			};
> > -		} else if(mode === 'edit') {
> > -			callback = function (embedData) {
> > -				if (element != 'undefined') {
> > +		} else if( mode === 'edit' ) {
> > +			callback = function ( embedData ) {
> > +				if ( element != 'undefined' ) {
> TBH I didn't update this one because I didn't feel like testing it, and there may be ramifications.
> 
> —
> Reply to this email directly or view it on GitHub.