Added favicon resolving to URL input.

Added blur event after entering URL.
Focus screen after entering URL.
This commit is contained in:
Gunther Brunner
2014-07-31 20:30:43 +09:00
parent 8696f833c2
commit 4edcb387d4
15 changed files with 201 additions and 10 deletions

View File

@@ -0,0 +1,23 @@
describe('iconInsideInput', function () {
beforeEach(module('stf.icon-inside-input'));
var scope, compile;
beforeEach(inject(function ($rootScope, $compile) {
scope = $rootScope.$new();
compile = $compile;
}));
it('should ...', function () {
/*
To test your directive, you need to create some html that would use your directive,
send that through compile() then compare the results.
var element = compile('<div icon-inside-input name="name">hi</div>')(scope);
expect(element.text()).toBe('hello, world');
*/
});
});