Added screenshot fade-in transition.

This commit is contained in:
Gunther Brunner
2014-05-27 12:23:47 +09:00
parent d5d300057b
commit 9ec7d8c366
8 changed files with 81 additions and 6 deletions

View File

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