Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3099 from adobe/jasonsanjsoe/issue-3032
Browse files Browse the repository at this point in the history
revert removal of jshint boss flag, see #2957
  • Loading branch information
RaymondLim committed Mar 12, 2013
2 parents 807af07 + 081af79 commit e7c12d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/command/KeyBindingManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/


/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50, regexp: true */
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50, regexp: true, boss: true */
/*global define, $, brackets, window */

/**
Expand Down
4 changes: 2 additions & 2 deletions test/spec/KeyBindingManager-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@ define(function (require, exports, module) {
expect(KeyBindingManager.getKeymap()).toEqual(expected);
});

it("should allow a generic key binding to be replaced", function () {
it("should not allow a generic key binding to be replaced with another generic binding", function () {
KeyBindingManager.addBinding("test.foo", "Ctrl-A");
KeyBindingManager.addBinding("test.bar", "Ctrl-A");

var expected = keyMap([
keyBinding("Ctrl-A", "test.bar")
keyBinding("Ctrl-A", "test.foo")
]);

expect(KeyBindingManager.getKeymap()).toEqual(expected);
Expand Down

0 comments on commit e7c12d0

Please sign in to comment.