Skip to content

Instantly share code, notes, and snippets.

View ASH-Bryan's full-sized avatar

Bryan Creel ASH-Bryan

  • American Specialty Health
View GitHub Profile
import Ember from 'ember';
const { run: { later } } = Ember;
export default Ember.Controller.extend({
greeting: 'Hallo',
actions: {
search(value) {
//This would be requesting the ember-data resource
later(null, () => {
Ember.set(this, 'model', value);
import Ember from 'ember';
import { task, timeout } from 'ember-concurrency';
import GiphyClient from '../lib/giphy-client';
const { Component, computed, get, set, isBlank } = Ember;
const GIPHY_DEBOUNCE = 1000;
export default Component.extend({
init() {
this._super(...arguments);