src/js/utils.js
changeset 1001 3210bf928a11
parent 998 9521347ede1d
child 1002 a86208b60c91
--- a/src/js/utils.js	Wed May 15 16:22:37 2013 +0200
+++ b/src/js/utils.js	Thu May 16 13:34:02 2013 +0200
@@ -122,3 +122,11 @@
 		}
 	});
 };
+
+IriSP.FakeClass = function(properties) {
+    var _this = this,
+        noop = (function() {});
+    IriSP._(properties).each(function(p) {
+        _this[p] = noop
+    });
+}