diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ng/anchorScroll.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/input.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/ngController.js | 4 | ||||
| -rw-r--r-- | src/ng/directive/ngInclude.js | 4 | ||||
| -rw-r--r-- | src/ng/http.js | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/ng/anchorScroll.js b/src/ng/anchorScroll.js index f45f67f9..5c5a0387 100644 --- a/src/ng/anchorScroll.js +++ b/src/ng/anchorScroll.js @@ -33,7 +33,7 @@ // call $anchorScroll() $anchorScroll(); - } + }; } </file> <file name="style.css"> diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 2e051706..f88af155 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -960,7 +960,7 @@ var VALID_CLASS = 'ng-valid', if (browser.params.browser == 'safari') { // SafariDriver can't handle contenteditable. return; - }; + } var contentEditable = element(by.css('[contenteditable]')); expect(contentEditable.getText()).toEqual('Change me!'); diff --git a/src/ng/directive/ngController.js b/src/ng/directive/ngController.js index 01558d2d..cbe7e833 100644 --- a/src/ng/directive/ngController.js +++ b/src/ng/directive/ngController.js @@ -99,7 +99,7 @@ expect(secondRepeat.findElement(by.model('contact.value')).getAttribute('value')) .toBe('john.smith@example.org'); - firstRepeat.findElement(by.linkText('clear')).click() + firstRepeat.findElement(by.linkText('clear')).click(); expect(firstRepeat.findElement(by.model('contact.value')).getAttribute('value')) .toBe(''); @@ -176,7 +176,7 @@ expect(secondRepeat.findElement(by.model('contact.value')).getAttribute('value')) .toBe('john.smith@example.org'); - firstRepeat.findElement(by.linkText('clear')).click() + firstRepeat.findElement(by.linkText('clear')).click(); expect(firstRepeat.findElement(by.model('contact.value')).getAttribute('value')) .toBe(''); diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index 09f03895..9b271686 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -59,8 +59,8 @@ <file name="script.js"> function Ctrl($scope) { $scope.templates = - [ { name: 'template1.html', url: 'template1.html'} - , { name: 'template2.html', url: 'template2.html'} ]; + [ { name: 'template1.html', url: 'template1.html'}, + { name: 'template2.html', url: 'template2.html'} ]; $scope.template = $scope.templates[0]; } </file> diff --git a/src/ng/http.js b/src/ng/http.js index 62e255db..04cb3d28 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -642,7 +642,7 @@ function $HttpProvider() { sampleGetBtn.click(); fetchBtn.click(); expect(status.getText()).toMatch('200'); - expect(data.getText()).toMatch(/Hello, \$http!/) + expect(data.getText()).toMatch(/Hello, \$http!/); }); it('should make a JSONP request to angularjs.org', function() { |
