Fix tests

This commit is contained in:
Nicolas Le Goff
2013-06-17 12:17:44 +02:00
parent 164d012437
commit c509a1bf47
4 changed files with 16 additions and 11 deletions

View File

@@ -18,11 +18,11 @@ define([
initialize: function(options) {
options = options || {};
if (! "name" in options) {
if (false === "name" in options) {
throw "Missing name attribute in input view";
}
if (! "errorTemplate" in options) {
if (false === "errorTemplate" in options) {
throw "Missing errorTemplate attribute in input view";
}