Skip to content

Instantly share code, notes, and snippets.

@nathanhammond
nathanhammond / jquery.textchange.js
Created August 27, 2010 15:38 — forked from mkelly12/jquery.textchange.js
Properly setup the event to account for initial content at the time of the first event binding. Reduce the delay to make it fire as quickly as possible. Remove two unused special events. Formatting.
/*!
* jQuery TextChange Plugin
* http://www.zurb.com/playground/jquery-text-change-custom-event
*
* Copyright 2010, ZURB
* Released under the MIT License
*/
(function ($) {
$.event.special.textchange = {
setup: function (data, namespaces) {
import Ember from 'ember';
export default Ember.Component.extend({
member: 'foo',
bleet(a, b, c) {
console.log('Member bleet!', arguments);
console.log(this.get('foo'));
},
actions: {
bleet(a, b, c) {