MCPcopy Index your code
hub / github.com/mailru/FileAPI / getObjectById

Function getObjectById

flash/image/html-template/swfobject.js:282–297  ·  view source on GitHub ↗
(objectIdStr)

Source from the content-addressed store, hash-verified

280 }
281
282 function getObjectById(objectIdStr) {
283 var r = null;
284 var o = getElementById(objectIdStr);
285 if (o && o.nodeName == "OBJECT") {
286 if (typeof o.SetVariable != UNDEF) {
287 r = o;
288 }
289 else {
290 var n = o.getElementsByTagName(OBJECT)[0];
291 if (n) {
292 r = n;
293 }
294 }
295 }
296 return r;
297 }
298
299 /* Requirements for Adobe Express Install
300 - only one instance can be active at a time

Callers 2

matchVersionsFunction · 0.70
swfobject.jsFile · 0.70

Calls 1

getElementByIdFunction · 0.70

Tested by

no test coverage detected