Skip to content

Instantly share code, notes, and snippets.

View brett-east's full-sized avatar

Brett East brett-east

View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
emailChanged: Ember.observer('email', function() {
console.log('changed');
if (/\s/g.test(this.get('email'))) {
Ember.run.once(this, 'formatEmail');
}
}),
@brett-east
brett-east / table.csv
Last active June 11, 2021 15:41
Test table
this is a table
item 1 item 2 another 1
item 2 item 2 another 2
item 3 item 2 3
item 4 item 2 another 4