diff --git a/src/notifications.js b/src/notifications.js
index e73d8ed..a0e6095 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -3,7 +3,7 @@
var noticationContainerEL = $('#js-alerts-container');
function addNotification(msg) {
- //var n = document.createElement('div');
+ // var n = document.createElement('div');
// div.textContent = msg;
// noticationContainerEL.appendChild(n);
noticationContainerEL.textContent = msg;
diff --git a/src/script.js b/src/script.js
index e5196f1..0ff54aa 100644
--- a/src/script.js
+++ b/src/script.js
@@ -162,8 +162,8 @@
return b.updatedOn - a.updatedOn;
});
items.forEach(function (item) {
- html += '' +
- '' + item.title + '
Last updated: ' + item.updatedOn + '';
+ html += ''
+ + '' + item.title + '
Last updated: ' + item.updatedOn + '';
})
savedItemsPane.querySelector('#js-saved-items-wrap').innerHTML = html;
toggleSavedItemsPane();
@@ -337,7 +337,7 @@
ast = esprima.parse(code, {
tolerant: true
});
- } catch(e) {
+ } catch (e) {
showErrors('js', [ { lineNumber: e.lineNumber - 1, message: e.description } ]);
} finally {
utils.addInfiniteLoopProtection(ast);
@@ -361,7 +361,7 @@
ast = esprima.parse(code, {
tolerant: true
});
- } catch(e) {
+ } catch (e) {
showErrors('js', [ { lineNumber: e.lineNumber - 1, message: e.description } ]);
} finally {
utils.addInfiniteLoopProtection(ast);
@@ -394,10 +394,10 @@
});
}
function createPreviewFile(html, css, js) {
- var contents = '\n