Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 5, 2018. It is now read-only.

Commit 51334d8

Browse files
committed
some syntax fixes
1 parent 23f1810 commit 51334d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/processing-inspector.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
if(typeof ProcessingInspector === "undefined") {
1414
ProcessingInspector = (function() {
1515
var releaseFunctor = "__release__",
16-
monitorCount = "__monitor_count_",
16+
monitorCount = "__monitor_count_",
1717

1818
/**
1919
* To prevent magic strings, we
@@ -94,7 +94,7 @@ if(typeof ProcessingInspector === "undefined") {
9494
monitor: function(object, attr, callback) {
9595
// can we even monitor this object's attribute?
9696
object = getOwner(object, attr, false);
97-
if(object === false) {
97+
if (object === false) {
9898
return false;
9999
}
100100

@@ -108,7 +108,7 @@ if(typeof ProcessingInspector === "undefined") {
108108
props = {
109109
get : function() { return this[monitoredAttr]; },
110110
set : function(v) {
111-
if (v!=this[monitoredAttr]) {
111+
if (v != this[monitoredAttr]) {
112112
this[monitoredAttr] = v;
113113
callback(object, attr, v);
114114
}
@@ -152,6 +152,6 @@ if(typeof ProcessingInspector === "undefined") {
152152
};
153153
}());
154154
}
155-
else if(window && window.console && window.console.log) {
155+
else if (window && window.console && window.console.log) {
156156
window.console.log("ERROR: ProcessingInspector already exists.");
157157
}

0 commit comments

Comments
 (0)