A fork of the popular open-source contract for web designers and developers by Stuff & Nonsense, reworded for developers
- Originally published: 05/02/2014
- Original post
Between us [company name] and you [customer name]
Between us [company name] and you [customer name]
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
init() { | |
this._super(...arguments); | |
const showOnly = this.get('showOnly'); | |
console.log('showOnly', showOnly); | |
if (showOnly && Number.isInteger( parseInt(showOnly))) { | |
this.set('people', this.get('people').slice(0, parseInt(showOnly))); | |
} |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'section', | |
classNames: [ 'i18n-demo' ], | |
i18n: Ember.inject.service(), | |
beenClicked: false, | |
text: Ember.computed('i18n.locale', function() | |
{ |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
intl: Ember.inject.service(), | |
appName: 'Ember Twiddle', | |
price: 232323, | |
enterPrice: Ember.computed('intl.locale', 'price', function() { | |
console.log(this.get('intl').formatNumber(this.get('price'), { currency: 'USD', format: 'USD', style: 'currency' })); | |
return this.get('intl').formatNumber(this.get('price'), { | |
currency: 'USD', |
Either copy the aliases from the .gitconfig
or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4
- creates local branch pr/4
from the github upstream
(if it exists) or origin
remote and checks it outgit pr 4 someremote
- creates local branch pr/4
from someremote
remote and checks it out