Skip to content

Instantly share code, notes, and snippets.

@dzfranklin
Last active October 12, 2016 04:01
Show Gist options
  • Save dzfranklin/6d8816086af5fda2ea787de43a811667 to your computer and use it in GitHub Desktop.
Save dzfranklin/6d8816086af5fda2ea787de43a811667 to your computer and use it in GitHub Desktop.
Load http://blissfuljs.com/docs.html into the current page.
let b, b$$;
let s = document.createElement("script");
s.src = "https://cdnjs.cloudflare.com/ajax/libs/blissfuljs/1.0.2/bliss.shy.min.js";
document.head.appendChild(s);
s.addEventListener("load", function(){
b$ = Bliss;
b$$ = Bliss.$;
console.log("Bliss Shy loaded, use b$ and b$$");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment