Make null check strict

Appeases JSHint. ESLint has a nice `smart` option for `eqeqeq` rule:
https://eslint.org/docs/rules/eqeqeq#smart
This commit is contained in:
Daniel Gasienica
2018-02-09 16:42:45 -05:00
parent ea70b92d9b
commit b15c304a31
+1 -1
View File
@@ -30,7 +30,7 @@
this.trigger('update');
},
render: function() {
if (this.source == null) {
if (this.source === null) {
return this;
}