mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 15:24:43 +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(){
|
it('should ng:show', function(){
|
||||||
var scope = compile('<div ng:hide="hide"></div>');
|
var scope = compile('<div ng:hide="hide"></div>');
|
||||||
scope.$eval();
|
scope.$eval();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue