-Added clear button directive.

-Added filter button directive.
-Moved the UI stuff to stf/common-ui.
-Added optional filtering to Details.
-Sync active tabs to local forage.
-Device List status filters by usability.
-Removed 750ms delay from filtering.
This commit is contained in:
Gunther Brunner
2014-03-20 21:30:55 +09:00
parent a260aa2cf8
commit 9d2a367e7c
17 changed files with 97 additions and 28 deletions

View File

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