Skip to content

Instantly share code, notes, and snippets.

View igorstajic's full-sized avatar

Igor Stajic igorstajic

View GitHub Profile
@igorstajic
igorstajic / keybase.md
Created June 1, 2022 07:43
keybase.md verification

Keybase proof

I hereby claim:

  • I am igorstajic on github.
  • I am istajic (https://keybase.io/istajic) on keybase.
  • I have a public key ASD10xMeJ0FpXErM2iTwM0nEwXVAGuwmfYbIK94dTrHE1Qo

To claim this, I am signing this object:

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
exampleLabel: '',
actions: {
myAction(clickEvent) {
this.set('exampleLabel', `Clicked on element with id #${clickEvent.target.id}`)
}
}
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
myStrings: ['bla', 'asd', 'zzz', 'fgh'],
computedStrings: Ember.computed('myStrings.[]', function() {
return this.get('myStrings')
.map(aString => Ember.String.capitalize(aString));
}),
actions: {
import Ember from 'ember';
export default Ember.Component.extend({
logger: Ember.inject.service(),
actions: {
test() {
this.get('logger').log("testing");
}
}