Commit 0e474562 authored by Stefane Fermigier's avatar Stefane Fermigier

Fix operator precedence errors.

parent 8c054c6c
......@@ -75,7 +75,7 @@
}
} catch (error) {
// Check if unable to decode base64 data
if (!error instanceof ReferenceError) {
if (!(error instanceof ReferenceError)) {
throw error;
}
}
......@@ -145,7 +145,7 @@
id = atob(DOCUMENT_REGEXP.exec(key)[1]);
} catch (error) {
// Check if unable to decode base64 data
if (!error instanceof ReferenceError) {
if (!(error instanceof ReferenceError)) {
throw error;
}
}
......@@ -159,7 +159,7 @@
attachment = atob(exec[2]);
} catch (error) {
// Check if unable to decode base64 data
if (!error instanceof ReferenceError) {
if (!(error instanceof ReferenceError)) {
throw error;
}
}
......@@ -214,7 +214,7 @@
});
} catch (error) {
// Check if unable to decode base64 data
if (!error instanceof ReferenceError) {
if (!(error instanceof ReferenceError)) {
throw error;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment