Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 683ff92

Browse files
committed
Merge pull request #97 from smehrbrodt/patch-1
Fix typo
2 parents 7b0f522 + 0850851 commit 683ff92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ui-codemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function uiCodemirrorDirective($timeout, uiCodemirrorConfig) {
1919

2020
// Require CodeMirror
2121
if (angular.isUndefined(window.CodeMirror)) {
22-
throw new Error('ui-codemirror need CodeMirror to work... (o rly?)');
22+
throw new Error('ui-codemirror needs CodeMirror to work... (o rly?)');
2323
}
2424

2525
return postLink;

test/codemirror.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('uiCodemirror', function() {
3131
delete window.CodeMirror;
3232
expect(window.CodeMirror).toBeUndefined();
3333
expect(compile)
34-
.toThrow(new Error('ui-codemirror need CodeMirror to work... (o rly?)'));
34+
.toThrow(new Error('ui-codemirror needs CodeMirror to work... (o rly?)'));
3535
window.CodeMirror = _CodeMirror;
3636
});
3737

0 commit comments

Comments
 (0)