mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
Fix tests
This commit is contained in:
@@ -17,11 +17,11 @@ define([
|
||||
initialize: function(options) {
|
||||
options = options || {};
|
||||
|
||||
if (! "name" in options) {
|
||||
if (false === "name" in options) {
|
||||
throw "Missing name attribute in error view";
|
||||
}
|
||||
|
||||
if (! "errorTemplate" in options) {
|
||||
if (false === "errorTemplate" in options) {
|
||||
throw "Missing errorTemplate attribute in error view";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user