src/inputs/email.js
function EmailInput(options) {
    MultipleInput.call(
        this,
        assign(
            {
                createTokenItem: createEmailItem,
                showDropdown: false,
                tokenizer: emailTokenizer
            },
            options
        )
    );

    this.events.on('blur', function() {
        var input = this.input;
        if (input && isValidEmail(lastWord(input.value))) {
            this.add(createEmailItem(input.value));
        }
    });
}
function EmailInput(options) {
    MultipleInput.call(
        this,
        assign(
            {
                createTokenItem: createEmailItem,
                showDropdown: false,
                tokenizer: emailTokenizer
            },
            options
        )
    );

    this.events.on('blur', function() {
        var input = this.input;
        if (input && isValidEmail(lastWord(input.value))) {
            this.add(createEmailItem(input.value));
        }
    });
}
function EmailInput ( options ) { MultipleInput . call ( this , assign ( { createTokenItem : createEmailItem , showDropdown : false , tokenizer : emailTokenizer } , options ) ) ; this . events . on ( 'blur' , function ( ) { var input = this . input ; if ( input && isValidEmail ( lastWord ( input . value ) ) ) { this . add ( createEmailItem ( input . value ) ) ; } } ) ; }
EmailInput Constructor.

@param options Options object. Accepts all options from the MultipleInput Constructor.
EmailInput Constructor .