mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 07:50:22 +00:00
merge kai/master
This commit is contained in:
commit
f09415d0de
1 changed files with 6 additions and 0 deletions
|
|
@ -216,6 +216,12 @@ describe("directives", function(){
|
|||
});
|
||||
});
|
||||
|
||||
it('should silently ignore undefined ng:style', function() {
|
||||
var scope = compile('<div ng:style="myStyle"></div>');
|
||||
scope.$eval();
|
||||
expect(element.hasClass('ng-exception')).toBeFalsy();
|
||||
});
|
||||
|
||||
it('should ng:show', function(){
|
||||
var scope = compile('<div ng:hide="hide"></div>');
|
||||
scope.$eval();
|
||||
|
|
|
|||
Loading…
Reference in a new issue