I hereby claim:
- I am trjohnst on github.
- I am thomas211 (https://keybase.io/thomas211) on keybase.
- I have a public key ASC_PrhrvJ68dqVL99WWXnrNKU2PhpS6GfabZSueqgYapwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* A bare-bones GithubClient, just used for commits */ | |
function GithubClient(owner, repo, username, passwordOrToken) { | |
this.owner = owner; | |
this.repo = repo; | |
this.username = username; | |
this.passwordOrToken = passwordOrToken; | |
} | |
/* |
const dgram = require('dgram'); | |
const convertBinaryToHex = require('./lib/util/convert-binary-to-hex'); | |
const message = Buffer.from([0x42,0x4e,0x58,0x49,0x00,0x14,0x00]); | |
const PORT = 5121; // Port from server, usually 5121 | |
const HOST = '127.0.0.1'; // IP Address or URL of host | |
const TIMEOUT_DURATION = 3000; | |
let timeout; |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
init() { | |
this._super(...arguments); | |
console.log('init'); | |
}, | |
didReceiveAttrs() { | |
this._super(...arguments); | |
console.log('didReceiveAttrs'); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
}); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
state: 'none', | |
methodAction() { | |
this.set('state', 'method'); | |
}, | |
actions: { | |
actionAction() { | |
this.set('state', 'action'); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
value: null, | |
actions: { | |
doIt() { | |
this.set('value', this.get('value') + 1); | |
} | |
} | |
}); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didInsertElement() { | |
this._super(...arguments); | |
const onDidInsertElement = this.get('onDidInsertElement'); | |
if (typeof onDidInsertElement !== 'function') return; | |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
doAction() { | |
console.log('hello from action yielder'); | |
} | |
} | |
}); |