Skip to content

Instantly share code, notes, and snippets.

View mrgodhani's full-sized avatar
💭
I may be slow to respond.

Meet Godhani mrgodhani

💭
I may be slow to respond.
View GitHub Profile
@mrgodhani
mrgodhani / widget.js
Last active August 29, 2015 14:09 — forked from lukencode/widget.js
(function () {
var scriptName = "embed.js"; //name of this script, used to get reference to own tag
var jQuery; //noconflict reference to jquery
var jqueryPath = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js";
var jqueryVersion = "1.8.3";
var scriptTag; //reference to the html script tag
/******** Get reference to self (scriptTag) *********/
var allScripts = document.getElementsByTagName('script');