Added native auto-fill support for URL input in Chrome.

This commit is contained in:
Gunther Brunner
2014-07-31 16:54:09 +09:00
parent e6465fe8cc
commit 8696f833c2
8 changed files with 254 additions and 190 deletions

View File

@@ -0,0 +1,23 @@
describe('enableAutofill', function () {
beforeEach(module('stf.enable-autofill'));
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 enable-autofill name="name">hi</div>')(scope);
expect(element.text()).toBe('hello, world');
*/
});
});