@@ -12055,7 +12055,7 @@ describe('$compile', function() {
12055
12055
expect(attrs.ngAttrMyCameltitle).toBeUndefined();
12056
12056
expect(attrs.$attr.ngAttrMyCameltitle).toBeUndefined();
12057
12057
});
12058
- })
12058
+ });
12059
12059
12060
12060
it('should work with the "href" attribute', inject(function() {
12061
12061
$rootScope.value = 'test';
@@ -12143,19 +12143,19 @@ describe('$compile', function() {
12143
12143
});
12144
12144
12145
12145
describe('ngOn* event binding', function() {
12146
- it(" should add event listener of specified name" , inject(function($compile, $rootScope) {
12146
+ it(' should add event listener of specified name' , inject(function($compile, $rootScope) {
12147
12147
$rootScope.name = 'Misko';
12148
12148
element = $compile('<span ng-on-foo="name = name + 3"></span>')($rootScope);
12149
12149
element.triggerHandler('foo');
12150
12150
expect($rootScope.name).toBe('Misko3');
12151
12151
}));
12152
12152
12153
- it(" should use angular.element(x).on() API to add listener" , inject(function($compile, $rootScope) {
12153
+ it(' should use angular.element(x).on() API to add listener' , inject(function($compile, $rootScope) {
12154
12154
spyOn(angular.element.prototype, "on");
12155
12155
12156
12156
element = $compile('<span ng-on-foo="name = name + 3"></span>')($rootScope);
12157
12157
12158
- expect(angular.element.prototype.on).toHaveBeenCalledWith(" foo" , jasmine.any(Function));
12158
+ expect(angular.element.prototype.on).toHaveBeenCalledWith(' foo' , jasmine.any(Function));
12159
12159
}));
12160
12160
12161
12161
it('should allow access to the $event object', inject(function($rootScope, $compile) {
@@ -12195,7 +12195,7 @@ describe('$compile', function() {
12195
12195
});
12196
12196
12197
12197
12198
- describe(" ngProp*" , function() {
12198
+ describe(' ngProp*' , function() {
12199
12199
it('should bind boolean properties (input disabled)', inject(function($rootScope, $compile) {
12200
12200
element = $compile('<button ng-prop-disabled="isDisabled">Button</button>')($rootScope);
12201
12201
$rootScope.$digest();
@@ -12345,7 +12345,7 @@ describe('$compile', function() {
12345
12345
$rootScope.$apply();
12346
12346
expect(attrs.title).toBe('foo');
12347
12347
expect(attrs.$attr.title).toBe('title');
12348
- expect(attrs.$attr.ngPropTitle).toBe(" ng-prop-title" );
12348
+ expect(attrs.$attr.ngPropTitle).toBe(' ng-prop-title' );
12349
12349
});
12350
12350
});
12351
12351
0 commit comments