Skip to content

Instantly share code, notes, and snippets.

View joeblynch's full-sized avatar

Joe Lynch joeblynch

  • PlayStation
  • San Mateo, CA
View GitHub Profile
import Ember from 'ember';
export default Ember.Controller.extend({
actions: {
pushModal(modalName, modalOpts) {
this.get('modalManager').push(modalName, modalOpts);
},
popModal() {
this.get('modalManager').pop();
//Copy to URL bar:
javascript:var s=document.createElement("script");s.src="https://github.com/mrdoob/stats.js/raw/master/build/Stats.js",document.body.appendChild(s),s.onload=function(){var a=new Stats,b=a.domElement.style;b.position="fixed",b.left="0px",b.top="0px",document.body.appendChild(a.domElement),setInterval(a.update,1e3/60)}
//Source
var s = document.createElement('script');
s.src = 'https://github.com/mrdoob/stats.js/raw/master/build/Stats.js';
document.body.appendChild(s);
s.onload = function() {
var stats = new Stats(),

Keybase proof

I hereby claim:

  • I am joeblynch on github.
  • I am yhf (https://keybase.io/yhf) on keybase.
  • I have a public key whose fingerprint is 39E2 0434 3498 93A1 F432 E35E 0E49 3798 6D56 2ED7

To claim this, I am signing this object: