Created Packery and Draggabilly directives.

Applied the Packery directive to Info layout based on media queries.
This commit is contained in:
Gunther Brunner
2014-05-26 21:05:54 +09:00
parent 7a87f2170a
commit 00eb155ab9
12 changed files with 201 additions and 16 deletions

View File

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