Skip to content

Commit 7352e1a

Browse files
committed
Added "use strict" statement to scripts; formatting fixes
1 parent fe69f1f commit 7352e1a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Scripts/bookmarklets.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
var bookmarklets = {
23
workspaces: {
34
appendBookmarkletComponents: function (javaScriptCode, configureJSURL, configureInitialAlert) {

Scripts/inBrowser.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
"use strict";
12
bookmarklets.workspaces.compileJavaScript.assembleAndExecute = function (URLArray) {
2-
if(CSV == undefined) {
3+
if (CSV === undefined) {
34
throw "Missing parameter(s) in bookmarklets.workspaces.compileJavaScriptFromCSV.assembleAndExecute()";
45
}
56
if (typeof URLArray !== "object") {

0 commit comments

Comments
 (0)