Make jshint quiet now

This commit is contained in:
grosbouddha
2013-05-27 23:42:53 +02:00
parent 32d4f1c377
commit fba6693426
17 changed files with 506 additions and 502 deletions

View File

@ -173,7 +173,7 @@
*/
ns.DrawingController.prototype.wrapEvtInfo_ = function (event) {
var evtInfo = {};
if (event.button == 0) {
if (event.button === 0) {
evtInfo.button = Constants.LEFT_BUTTON;
} else if (event.button == 2) {
evtInfo.button = Constants.RIGHT_BUTTON;